Browse Source

去掉custid

master
djz236@163.com 2 years ago
parent
commit
b62082763f
  1. 7
      warehousing-system/project/wh-manage-xxs/src/main/java/com/wh/controller/api/output/OutStorehouseMainController.java
  2. 4
      warehousing-system/project/wh-manage-xxs/src/main/java/com/wh/mapper/api/outstorehouse/OutStorehouseMainMapper.java

7
warehousing-system/project/wh-manage-xxs/src/main/java/com/wh/controller/api/output/OutStorehouseMainController.java

@ -49,11 +49,12 @@ public class OutStorehouseMainController {
return r.setData(pv); return r.setData(pv);
} }
@PostMapping("listAllForPicking") @PostMapping("listAllForPicking")
public ResultBean listAllForPicking(@RequestBody OutStorehouseMainQuery pq){ public ResultBean listAllForPicking(){
ResultBean r=ResultBean.fireFail(); ResultBean r=ResultBean.fireFail();
if(StringUtils.isBlank(pq.getCusterSid())){ /*if(StringUtils.isBlank(pq.getCusterSid())){
return r.setMsg("CusterSid不能为空"); return r.setMsg("CusterSid不能为空");
} }*/
OutStorehouseMainQuery pq=new OutStorehouseMainQuery();
List<OutStorehouseMain> list= outStorehouseMainService.listAllForPicking(pq); List<OutStorehouseMain> list= outStorehouseMainService.listAllForPicking(pq);
return r.success().setData(list); return r.success().setData(list);
} }

4
warehousing-system/project/wh-manage-xxs/src/main/java/com/wh/mapper/api/outstorehouse/OutStorehouseMainMapper.java

@ -16,6 +16,6 @@ import java.util.List;
public interface OutStorehouseMainMapper extends BaseMapper<OutStorehouseMain> { public interface OutStorehouseMainMapper extends BaseMapper<OutStorehouseMain> {
IPage<OutStorehouseVo> selectPageVo(IPage<OutStorehouseVo> page, IPage<OutStorehouseVo> selectPageVo(IPage<OutStorehouseVo> page,
@Param(Constants.WRAPPER) Wrapper<OutStorehouseVo> qw); @Param(Constants.WRAPPER) Wrapper<OutStorehouseVo> qw);
@Select("select * from out_storehouse_main where state=1 and custer_sid=#{custerSid};") @Select("select * from out_storehouse_main ")
List<OutStorehouseMain> listAllForPicking(@Param("custerSid")String custerSid); List<OutStorehouseMain> listAllForPicking(String custerSid);
} }

Loading…
Cancel
Save