修改 新增出入库自动补单bug

pro
wangwei 2 years ago
parent fb9aa452d1
commit 9974b9ec89

@ -85,8 +85,8 @@ public class BasicBusTypePreServiceImpl extends ServiceImpl<BasicBusTypePreDao,
public boolean verifyExists(BasicBusTypePreEntity basicBusTypePreEntity) { public boolean verifyExists(BasicBusTypePreEntity basicBusTypePreEntity) {
QueryWrapper<BasicBusTypePreEntity> wrapper = new QueryWrapper<>(); QueryWrapper<BasicBusTypePreEntity> wrapper = new QueryWrapper<>();
wrapper.eq("action", basicBusTypePreEntity.getAction()) wrapper.eq("action", basicBusTypePreEntity.getAction())
.eq("originAction", basicBusTypePreEntity.getOriginAction()) // .eq("originAction", basicBusTypePreEntity.getOriginAction())
.eq("invCode", basicBusTypePreEntity.getInvCode()) .eq(null !=basicBusTypePreEntity.getInvCode(),"invCode", basicBusTypePreEntity.getInvCode())
.eq(null != basicBusTypePreEntity.getBeforeTime(), "beforeTime", basicBusTypePreEntity.getBeforeTime()) .eq(null != basicBusTypePreEntity.getBeforeTime(), "beforeTime", basicBusTypePreEntity.getBeforeTime())
.eq(null != basicBusTypePreEntity.getDefaultInvCode(), "defaultInvCode", basicBusTypePreEntity.getDefaultInvCode()) .eq(null != basicBusTypePreEntity.getDefaultInvCode(), "defaultInvCode", basicBusTypePreEntity.getDefaultInvCode())
.eq(null != basicBusTypePreEntity.getSupplementAll(), "supplementAll", basicBusTypePreEntity.getSupplementAll()); .eq(null != basicBusTypePreEntity.getSupplementAll(), "supplementAll", basicBusTypePreEntity.getSupplementAll());

Loading…
Cancel
Save