Browse Source

feat(all): 修改仓库租用管理

dist.1.3.0
zhaoqiaobo 6 months ago
parent
commit
1bc47a86ac
  1. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/WarehouseLeasingMapper.xml
  2. 4
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/query/WarehouseLeasingQuery.java

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/WarehouseLeasingMapper.xml

@ -31,7 +31,7 @@
</if>
<if test="warehouseLeasing.warehouseIds != null and warehouseLeasing.warehouseIds != ''">
and t.warehouse_id in
<foreach collection="warehouseLeasing.warehouseIds" item="warehouseId" separator="," open="(" close=")">
<foreach collection="warehouseLeasing.warehouseIds.split(',')" item="warehouseId" separator="," open="(" close=")">
#{warehouseId}
</foreach>
</if>

4
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/query/WarehouseLeasingQuery.java

@ -21,8 +21,6 @@ import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.support.Query;
import java.util.List;
/**
* 仓库租用管理 视图实体类
*
@ -38,7 +36,7 @@ public class WarehouseLeasingQuery extends Query {
* 仓库id
*/
@ApiModelProperty(value = "仓库id")
private List<Long> warehouseIds;
private String warehouseIds;
/**
* 是否过期

Loading…
Cancel
Save