Browse Source

修改出入库查询单据类型查询条件

master
fanzongzhe0036 1 month ago
parent
commit
eb0a103c49
  1. 7
      yxt-wms-biz/src/main/java/com/yxt/wms/biz/inventory/wmsinventoryrecord/WmsInventoryRecordService.java

7
yxt-wms-biz/src/main/java/com/yxt/wms/biz/inventory/wmsinventoryrecord/WmsInventoryRecordService.java

@ -304,7 +304,12 @@ public class WmsInventoryRecordService extends MybatisBaseService<WmsInventoryRe
}
//单据类型
if (StringUtils.isNotBlank(query.getBillType())) {
qw.like("wir.billType", query.getBillType());
String billType = query.getBillType();
if (billType.equals("入库")) {
qw.like("wir.billType", 1);
} if (billType.equals("出库")) {
qw.like("wir.billType", 0);
}
}
//业务类型
if (StringUtils.isNotBlank(query.getBusTypeValue())) {

Loading…
Cancel
Save