Commit d49f0f33 by wutong

修复调拨数据插入时,漏了一个判断字段的问题

parent 224c00fd
...@@ -188,7 +188,7 @@ public class TransferDetailsServiceImpl { ...@@ -188,7 +188,7 @@ public class TransferDetailsServiceImpl {
try { try {
DcBaseTransferInboundMapper mapper12 = SessionUtil.getSession().getMapper(DcBaseTransferInboundMapper.class); DcBaseTransferInboundMapper mapper12 = SessionUtil.getSession().getMapper(DcBaseTransferInboundMapper.class);
int i = mapper12.updateByExampleSelective(dcBaseTransferInbound, DcBaseTransferInboundExample.newAndCreateCriteria().andBailunSkuEqualTo(dcBaseTransferInbound.getBailunSku()) int i = mapper12.updateByExampleSelective(dcBaseTransferInbound, DcBaseTransferInboundExample.newAndCreateCriteria().andBailunSkuEqualTo(dcBaseTransferInbound.getBailunSku())
.andTransferOrderIdEqualTo(dcBaseTransferInbound.getTransferOrderId()).example()); .andTransferOrderIdEqualTo(dcBaseTransferInbound.getTransferOrderId()).andCreateTimeEqualTo(dcBaseTransferInbound.getCreateTime()).example());
if (i == 0) { if (i == 0) {
mapper12.insertSelective(dcBaseTransferInbound); mapper12.insertSelective(dcBaseTransferInbound);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment