refactor(sales): 优化被动仓库收据代码并更新测试用例
- 在 PassiveWarehouseReceiptToC 类中添加注释标记- 更新 ProxyPurchaseWarehousOrderTest 测试用例中的订单编号
This commit is contained in:
parent
08720c627f
commit
687fa75c65
|
@ -2929,6 +2929,7 @@ public class PassiveWarehouseReceiptToC extends PluginBaseEntity {
|
||||||
if (merchantDiscounts == null || "".equals(merchantDiscounts.trim())) {
|
if (merchantDiscounts == null || "".equals(merchantDiscounts.trim())) {
|
||||||
merchantDiscounts = "0";
|
merchantDiscounts = "0";
|
||||||
}
|
}
|
||||||
|
//git
|
||||||
if (expertDiscounts == null || "".equals(expertDiscounts.trim())) {
|
if (expertDiscounts == null || "".equals(expertDiscounts.trim())) {
|
||||||
expertDiscounts = "0";
|
expertDiscounts = "0";
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ public class ProxyPurchaseWarehousOrderTest {
|
||||||
@Test
|
@Test
|
||||||
public void startImplementByCode() {
|
public void startImplementByCode() {
|
||||||
try {
|
try {
|
||||||
proxyPurchaseWarehousOrder.startImplementByCode("LETS-PO2025030400000134");
|
proxyPurchaseWarehousOrder.startImplementByCode("LETS-PO2025032500000001");
|
||||||
// proxyPurchaseWarehousOrder.startImplementByTime("2025-01-21 17:38:26", "2025-01-21 17:38:26");
|
// proxyPurchaseWarehousOrder.startImplementByTime("2025-01-21 17:38:26", "2025-01-21 17:38:26");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in New Issue