bug修复

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

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

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

@ -338,7 +338,7 @@
<select id="filterThrProductsByMainId" resultType="com.glxp.api.entity.thrsys.ThrProductsEntity">
SELECT *
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>
<if test="relId != '' and relId != null">
AND basic_udirel.id = #{relId}

Loading…
Cancel
Save