采购计划提交系统繁忙问题,物资字典选入系统繁忙,生产企业查询系统繁忙

pro
anthonywj 2 years ago
parent d2cd3f803d
commit 1a015238d6

@ -205,6 +205,9 @@ public class IoPurChangeService {
for (String key : purPlanDetailMap.keySet()) { for (String key : purPlanDetailMap.keySet()) {
PurOrderEntity purOrderEntity = new PurOrderEntity(); PurOrderEntity purOrderEntity = new PurOrderEntity();
List<PurPlanDetailEntity> purPlanDetailEntitys = purPlanDetailMap.get(key); List<PurPlanDetailEntity> purPlanDetailEntitys = purPlanDetailMap.get(key);
if (purPlanDetailEntitys.isEmpty()) {
continue;
}
purOrderEntity.setBillNo(gennerOrderUtils.createStOrderNo(new OrderNoTypeBean(Constant.CG_ORDER, "yyyyMMdd"))); purOrderEntity.setBillNo(gennerOrderUtils.createStOrderNo(new OrderNoTypeBean(Constant.CG_ORDER, "yyyyMMdd")));
purOrderEntity.setBillDate(purPlanEntity.getBillDate()); purOrderEntity.setBillDate(purPlanEntity.getBillDate());
if (!key.equals("not")) { if (!key.equals("not")) {

@ -182,6 +182,9 @@ public class UdiContrastService {
udiProductEntity.setScbssfbhscrq("是"); udiProductEntity.setScbssfbhscrq("是");
udiProductEntity.setScbssfbhsxrq("是"); udiProductEntity.setScbssfbhsxrq("是");
udiProductEntity.setScbssfbhxlh("否"); udiProductEntity.setScbssfbhxlh("否");
if (StrUtil.isEmpty(udiProductEntity.getPrice())) {
udiProductEntity.setPrice(null);
}
udiProductEntity = UdiInfoUtil.initUdiInfoEntity(udiProductEntity); udiProductEntity = UdiInfoUtil.initUdiInfoEntity(udiProductEntity);
udiProductService.insertUdiInfo(udiProductEntity); udiProductService.insertUdiInfo(udiProductEntity);
} }

@ -207,11 +207,11 @@
AND basic_products.pinyinInitial like concat('%', #{pinyinInitial}, '%') AND basic_products.pinyinInitial like concat('%', #{pinyinInitial}, '%')
</if> </if>
<if test="thrPiId != '' and thrPiId != null"> <if test="thrPiId != '' and thrPiId != null">
and (thirdId LIKE concat('%', #{thrPiId}, '%') and (basic_udirel.thirdId LIKE concat('%', #{thrPiId}, '%')
or thirdId1 LIKE concat('%', #{thrPiId}, '%') or basic_udirel.thirdId1 LIKE concat('%', #{thrPiId}, '%')
or thirdId2 LIKE concat('%', #{thrPiId}, '%') or basic_udirel.thirdId2 LIKE concat('%', #{thrPiId}, '%')
or thirdId3 LIKE concat('%', #{thrPiId}, '%') or basic_udirel.thirdId3 LIKE concat('%', #{thrPiId}, '%')
or thirdId4 LIKE concat('%', #{thrPiId}, '%')) or basic_udirel.thirdId4 LIKE concat('%', #{thrPiId}, '%'))
</if> </if>
<if test="ggxh != '' and ggxh != null"> <if test="ggxh != '' and ggxh != null">
AND ggxh LIKE concat('%', #{ggxh}, '%') AND ggxh LIKE concat('%', #{ggxh}, '%')
@ -223,7 +223,7 @@
AND nameCode LIKE concat(#{nameCode}, '%') AND nameCode LIKE concat(#{nameCode}, '%')
</if> </if>
<if test="thirdId != '' and thirdId != null"> <if test="thirdId != '' and thirdId != null">
AND thirdId LIKE concat(#{thirdId}, '%') AND basic_udirel.thirdId LIKE concat(#{thirdId}, '%')
</if> </if>
<if test="uuid != '' and uuid != null"> <if test="uuid != '' and uuid != null">
AND basic_udirel.uuid = #{uuid} AND basic_udirel.uuid = #{uuid}
@ -273,7 +273,7 @@
</foreach> </foreach>
</if> </if>
<if test="flbm != '' and flbm != null"> <if test="flbm != '' and flbm != null">
and (tp.flbm = #{flbm} or basic_products.flbm = #{flbm}) and (tp.flbm = #{flbm} or basic_products.flbm = #{flbm} or tp.cplb = #{flbm})
</if> </if>
<if test="companyName != '' and companyName != null"> <if test="companyName != '' and companyName != null">
AND basic_corp.name like concat('%', #{companyName}, '%') AND basic_corp.name like concat('%', #{companyName}, '%')
@ -358,13 +358,13 @@
AND nameCode LIKE concat(#{nameCode}, '%') AND nameCode LIKE concat(#{nameCode}, '%')
</if> </if>
<if test="cpmctymc != '' and cpmctymc != null"> <if test="cpmctymc != '' and cpmctymc != null">
AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') AND basic_products.cpmctymc LIKE concat('%', #{cpmctymc}, '%')
</if> </if>
<if test="entireCpmctymc != '' and entireCpmctymc != null"> <if test="entireCpmctymc != '' and entireCpmctymc != null">
AND cpmctymc = #{entireCpmctymc} AND basic_products.cpmctymc = #{entireCpmctymc}
</if> </if>
<if test="ggxh != '' and ggxh != null"> <if test="ggxh != '' and ggxh != null">
AND ggxh LIKE concat('%', #{ggxh}, '%') AND basic_products.ggxh LIKE concat('%', #{ggxh}, '%')
</if> </if>
<if test="unionCode != '' and unionCode != null"> <if test="unionCode != '' and unionCode != null">
and ( and (
@ -395,7 +395,7 @@
AND udplatCode = #{udplatCode} AND udplatCode = #{udplatCode}
</if> </if>
<if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null"> <if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null">
AND zczbhhzbapzbh LIKE concat(#{zczbhhzbapzbh}, '%') AND basic_products.zczbhhzbapzbh LIKE concat(#{zczbhhzbapzbh}, '%')
</if> </if>
<if test="diType != '' and diType != null"> <if test="diType != '' and diType != null">
AND diType = #{diType} AND diType = #{diType}
@ -444,7 +444,7 @@
and originUuid = #{originUuid} and originUuid = #{originUuid}
</if> </if>
<if test="manufactory != null and manufactory != ''"> <if test="manufactory != null and manufactory != ''">
and manufactory LIKE concat('%', #{manufactory}, '%') and basic_products.manufactory LIKE concat('%', #{manufactory}, '%')
</if> </if>
<if test="dispatch != null"> <if test="dispatch != null">
and basic_udirel.dispatch = #{dispatch} and basic_udirel.dispatch = #{dispatch}

Loading…
Cancel
Save