采购计划相关问题

zhairh
anthonyywj2 3 years ago
parent 1df7f30538
commit 0b632b4745

@ -337,6 +337,7 @@ public class StockOrderDetailController {
stockOrderDetailEntity.setYlqxzcrbarmc(udiInfoEntity.getYlqxzcrbarmc());
stockOrderDetailEntity.setZczbhhzbapzbh(udiInfoEntity.getZczbhhzbapzbh());
stockOrderDetailEntity.setAllowNoBatch(udiInfoEntity.isAllowNoBatch());
stockOrderDetailEntity.setSupId(stockSelectDataEntity.getSupId());
if (StrUtil.isNotEmpty(udiInfoEntity.getPrice())) {
stockOrderDetailEntity.setPrice(new BigDecimal(udiInfoEntity.getPrice()));
}

@ -45,4 +45,7 @@ public class StockOrderDetailEntity {
private int acceptCount;
private String measname;
private String supId;
}

@ -8,4 +8,5 @@ public class StockSelectDataEntity {
private String batchNo;
private String expireDate;
private String productDate;
private String supId;
}

@ -27,7 +27,7 @@
<insert id="insertStockOrder" useGeneratedKeys="true" keyProperty="id"
parameterType="com.glxp.sale.admin.entity.inout.StockOrderEntity">
insert INTO stock_order(id, billNo, billdate, corpId, corpName, billType, billFlag,
thirdSysFk, status, statusInfo, type, sourceType,
thirdSysFk, status, statusInfo, `type`, sourceType,
printStatus, unitIdFk, customerId, thirdOrderFk, orderIdFk,
totalPrice, locStorageCode, supplementNo, createUser, reviewUser, entrustEnd, auditTime,
updateTime, invWarehouseCode, fromSubInvCode, dept)

Loading…
Cancel
Save