10/14 yaopin

dev_unify
wangwei 6 months ago
parent 9b9b478364
commit 036048bddd

@ -127,6 +127,7 @@ public class UdiRelevanceController extends BaseController {
}
//基础信息-耗材字典-查询页面、业务单据-选入耗材字典-查询页面
@AuthRuleAnnotation("")
@GetMapping("/udi/udirel/filterUdi")

@ -213,18 +213,18 @@ public class UdiRelevanceEntity {
private Boolean newNeedUpload;
// /**
// * 流通计量层层级标识
// */
// @TableField(value = "distributeLevelDi")
// private String distributeLevelDi;
//
// /**
// * 流通计量层级单位
// */
// @TableField(value = "distributeLevelUnit")
// private String distributeLevelUnit;
//
/**
*
*/
@TableField(value = "distributeLevelDi")
private String distributeLevelDi;
/**
*
*/
@TableField(value = "distributeLevelUnit")
private String distributeLevelUnit;
/**
*
*/
@ -238,23 +238,23 @@ public class UdiRelevanceEntity {
private Integer distributeLevel;
// /**
// * 使用计量层级标识
// */
// @TableField(value = "useLevelDi")
// private String useLevelDi;
//
// /**
// * 使用计量层级单位
// */
// @TableField(value = "useLevelUnit")
// private String useLevelUnit;
//
// /**
// * 使用是当前层级包含计量单元数量
// */
// @TableField(value = "useLeverCount")
// private Integer useLeverCount;
/**
* 使
*/
@TableField(value = "useLevelDi")
private String useLevelDi;
/**
* 使
*/
@TableField(value = "useLevelUnit")
private String useLevelUnit;
/**
* 使
*/
@TableField(value = "useLeverCount")
private Integer useLeverCount;
/**

@ -236,7 +236,7 @@ public class UdiContrastService {
UdiProductEntity udiProductEntity = new UdiProductEntity();
BeanUtils.copyProperties(thrProductsEntity, udiProductEntity);
udiProductEntity.setId(IdUtil.getSnowflakeNextId());
if (list.size() > 0) {
if (list != null && list.size() > 0){
YbDrug ybDrug = list.get(0);
// udiProductEntity.setNameCode(thrProductsEntity.getCode());
udiProductEntity.setPrepnSpec(ybDrug.getRealityOutlook());

@ -28,7 +28,7 @@ public class YbDrugService {
BaseResponse<PageSimpleResponse<YbDrug>> ybDrugDetail = erpBasicClient.getYbDrugDetail(ybHcflDetailFilterRequest);
PageSimpleResponse<YbDrug> data = ybDrugDetail.getData();
List<YbDrug> list1 = data.getList();
ybDrugMapper.batchSaveOrUpdateByGoodsCode(list1);
if (CollUtil.isNotEmpty(list1)) ybDrugMapper.batchSaveOrUpdateByGoodsCode(list1);
return list1;
}
return list;

@ -136,6 +136,9 @@
<if test="thirdSys != '' and thirdSys != null">
AND thirdSysFk = #{thirdSys}
</if>
<if test="productType != '' and productType != null">
AND productType = #{productType}
</if>
<if test="supName != '' and supName != null">
AND supName LIKE concat('%', #{supName}, '%')
</if>

Loading…
Cancel
Save