1.修改物资入院审核页面供应商院内字典添加的产品信息部分字段无信息的问题

master
x_z 2 years ago
parent 9f197f887d
commit 6c468fb2f3

@ -32,6 +32,10 @@ public class ThrProductsAddDiResponse extends ThrProductsAddDiEntity {
private String companyName;
/**
*
*/
private String standard;
private String price;
private String basicPrductRemak1;

@ -38,6 +38,13 @@ public class ThrProductsAddDiServiceImpl implements ThrProductsAddDiService {
PageHelper.offsetPage(offset, filterThrProductsRequest.getLimit());
}
List<ThrProductsAddDiResponse> thrProductsAddDiResponses = thrProductsAddDiDao.filterThrProductsList(filterThrProductsRequest);
if (CollUtil.isNotEmpty(thrProductsAddDiResponses)) {
thrProductsAddDiResponses.forEach(thrProductsAddDiResponse -> {
thrProductsAddDiResponse.setStandard(thrProductsAddDiResponse.getSpec());
thrProductsAddDiResponse.setZczbhhzbapzbh(thrProductsAddDiResponse.getRegisterNo());
});
}
return thrProductsAddDiResponses;
}

@ -150,7 +150,8 @@
<select id="filterThrProductsList" parameterType="com.glxp.api.req.thrsys.FilterThrProductsRequest"
resultType="com.glxp.api.res.thrsys.ThrProductsAddDiResponse">
SELECT tdi.*, bc.name companyName
SELECT tdi.*,
bc.name companyName
FROM thr_products_add_di tdi
left join basic_corp bc on tdi.customerId = bc.erpId
<where>

Loading…
Cancel
Save