基础信息选入问题

dev_unify
yewj 7 months ago
parent 468a7aeb08
commit e838984013

@ -340,7 +340,7 @@ public class UdiContrastService {
e.printStackTrace();
Log.error("计算包装级别出错" + thirdAliDrug.getPackLevel() + "---" + integers + "-----" + thirdAliDrug.toString());
}
// udiProductEntity.setBhxjsl(integers.get(IntUtil.value(thirdAliDrug.getPackLevel()) - 1));
udiProductEntity.setNameCode(thirdAliDrug.getNameCode());
if (IntUtil.value(thirdAliDrug.getPackLevel()) == 1) {
udiProductEntity.setXjdw(ybDrug.getMinUnit());

@ -399,12 +399,12 @@ public class UdiRelevanceService extends ServiceImpl<UdiRelevanceDao, UdiRelevan
public UdiRelevanceEntity insertDefaultLevel(UdiRelevanceEntity udiRelevanceEntity, UdiProductEntity udiProductEntity) {
if (udiProductEntity != null) {
udiRelevanceEntity.setDistributeLevel(IntUtil.value(udiProductEntity.getPackLevel()));
udiRelevanceEntity.setDistributeLevel(1);
// udiRelevanceEntity.setDistributeLevelDi(udiProductEntity.getNameCode());
// udiRelevanceEntity.setDistributeLevelUnit(udiProductEntity.getPackUnit());
// udiRelevanceEntity.setDistributeLevelCount(IntUtil.value(udiProductEntity.getBhxjsl()));
udiRelevanceEntity.setUseLevel(IntUtil.value(udiProductEntity.getPackLevel()));
udiRelevanceEntity.setUseLevel(0);
// udiRelevanceEntity.setUseLevelDi(udiProductEntity.getNameCode());
// udiRelevanceEntity.setUseLevelUnit(udiProductEntity.getPackUnit());
// udiRelevanceEntity.setUseLeverCount(IntUtil.value(udiProductEntity.getBhxjsl()));

@ -195,7 +195,7 @@
matrial,
destinyType,
productsType, prepnUnit, prepnSpec, storageCondition, transportCondition, indate, packMatrial, majorType,
majorStatus, physicType, medicareType, bzgg,
majorStatus, physicType, medicareType, bzgg, xjdw,
requireScanCode, detailSort)
values (#{id}, #{uuid},
#{originUuid},
@ -269,8 +269,8 @@
#{majorStatus},
#{physicType},
#{medicareType},
#{bzgg},
#{requireScanCode},#{detailSort})
#{bzgg}, #{xjdw},
#{requireScanCode}, #{detailSort})
</insert>
<insert id="insertUdiInfos" parameterType="java.util.List">
@ -590,7 +590,6 @@
<if test="detailSort != null">
packMatrial=#{packMatrial},
</if>
</trim>
WHERE nameCode = #{nameCode}
and uuid = #{uuid}
@ -805,7 +804,6 @@
<if test="detailSort != null">
workPlaceCount=#{workPlaceCount},
</if>
</trim>
where uuid = #{uuid}
</update>

Loading…
Cancel
Save