bug修复

dev
郑明梁 2 years ago
parent 26f5caeded
commit c386367832

@ -143,7 +143,7 @@ public class PurApplyController {
} }
if(purApplyRequest.getIsInvCode()!=null && purApplyRequest.getIsInvCode()){ if(purApplyRequest.getIsInvCode()!=null && purApplyRequest.getIsInvCode()){
AuthAdmin authAdmin=customerService.getUserBean(); AuthAdmin authAdmin=customerService.getUserBean();
purApplyRequest.setInvCode(authAdmin.getLocInvCode() + ""); //查询自己仓库 purApplyRequest.setTargetInvCode(authAdmin.getLocInvCode() + ""); //查询自己仓库
} }
List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest); List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest);
PageInfo<PurApplyResponse> pageInfo; PageInfo<PurApplyResponse> pageInfo;

@ -382,6 +382,6 @@
SELECT * SELECT *
FROM basic_corp FROM basic_corp
WHERE corpType = 1 WHERE corpType = 1
AND outType = 1; AND outType = 2;
</select> </select>
</mapper> </mapper>

@ -338,7 +338,7 @@
<select id="filterThrProductsByMainId" resultType="com.glxp.api.entity.thrsys.ThrProductsEntity"> <select id="filterThrProductsByMainId" resultType="com.glxp.api.entity.thrsys.ThrProductsEntity">
SELECT * SELECT *
FROM thr_products FROM thr_products
LEFT JOIN basic_udirel ON thr_products.id = basic_udirel.mainId LEFT JOIN basic_udirel ON thr_products.code = basic_udirel.mainId
<where> <where>
<if test="relId != '' and relId != null"> <if test="relId != '' and relId != null">
AND basic_udirel.id = #{relId} AND basic_udirel.id = #{relId}

Loading…
Cancel
Save