总包有量可以点击查看编码设备
This commit is contained in:
parent
1053dd7952
commit
c815dc496c
|
|
@ -106,7 +106,7 @@ public class StorageStatusController extends BaseController {
|
||||||
maIds.addAll(xshdrkids);
|
maIds.addAll(xshdrkids);
|
||||||
Set<Integer> ids = new HashSet<>(maIds);
|
Set<Integer> ids = new HashSet<>(maIds);
|
||||||
startPage();
|
startPage();
|
||||||
List<MaType> list = storageStatusMapper.getAllRecords(ids);
|
List<MaType> list = storageStatusMapper.getAllRecords(ids,bean);
|
||||||
return AjaxResult.success(getDataTable(list));
|
return AjaxResult.success(getDataTable(list));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,5 @@ public interface StorageStatusMapper {
|
||||||
|
|
||||||
List<Integer> getxshdrk(StorageStatus bean);
|
List<Integer> getxshdrk(StorageStatus bean);
|
||||||
|
|
||||||
List<MaType> getAllRecords(@Param("ids") Set<Integer> ids);
|
List<MaType> getAllRecords(@Param("ids") Set<Integer> ids,@Param("bean") StorageStatus bean);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<foreach collection="ids" item="maId" open="(" separator="," close=")">
|
<foreach collection="ids" item="maId" open="(" separator="," close=")">
|
||||||
#{maId}
|
#{maId}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
<if test="bean.maCode != null and bean.maCode != ''">
|
||||||
|
and mm.ma_code like concat('%',#{bean.maCode},'%')
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue