基础信息加上功能

dev_drug_dm
qiuyt 3 weeks ago
parent 3069528df8
commit 2c076801d0

@ -352,6 +352,10 @@ public class UdiProductEntity {
@TableField(value = "zczbhhzbapzbhSys") @TableField(value = "zczbhhzbapzbhSys")
private String zczbhhzbapzbhSys; private String zczbhhzbapzbhSys;
public Integer getMyBhxjsl() { public Integer getMyBhxjsl() {
if (bhxjsl == null || bhxjsl == 0) if (bhxjsl == null || bhxjsl == 0)
return 1; return 1;

@ -325,4 +325,24 @@ public class UdiRelevanceEntity {
* 01 * 01
*/ */
private Integer manuReview; private Integer manuReview;
/**
* 01
*/
@TableField(value = "drugSellingPrice")
private String drugSellingPrice;
/**
*
*/
@TableField(value = "drugSellingPriceTime")
private Date drugSellingPriceTime;
/**
* 0 1
*/
@TableField(value = "hangingNetType")
private Integer hangingNetType;
} }

@ -312,4 +312,21 @@ public class AddProductRequest {
*/ */
private Integer manuReview; private Integer manuReview;
private Integer bhxjsl; private Integer bhxjsl;
/**
* 01
*/
@TableField(value = "drugSellingPrice")
private String drugSellingPrice;
/**
*
*/
@TableField(value = "drugSellingPriceTime")
private Date drugSellingPriceTime;
/**
* 0 1
*/
@TableField(value = "hangingNetType")
private Integer hangingNetType;
} }

@ -341,4 +341,25 @@ public class UdiRelevanceResponse {
*/ */
private Integer manuReview; private Integer manuReview;
/**
* 01
*/
@TableField(value = "drugSellingPrice")
private String drugSellingPrice;
/**
*
*/
@TableField(value = "drugSellingPriceTime")
private Date drugSellingPriceTime;
/**
* 0 1
*/
@TableField(value = "hangingNetType")
private Integer hangingNetType;
} }

@ -232,6 +232,12 @@ public class UdiProductServiceImpl implements UdiProductService {
udiRelevanceEntity.setManuReview(addProductRequest.getManuReview()); udiRelevanceEntity.setManuReview(addProductRequest.getManuReview());
udiRelevanceEntity.setNotCodeType(addProductRequest.getNotCodeType()); udiRelevanceEntity.setNotCodeType(addProductRequest.getNotCodeType());
udiRelevanceEntity.setUpdateTime(new Date()); udiRelevanceEntity.setUpdateTime(new Date());
udiRelevanceEntity.setDrugSellingPrice(addProductRequest.getDrugSellingPrice());
udiRelevanceEntity.setDrugSellingPriceTime(addProductRequest.getDrugSellingPriceTime());
udiRelevanceEntity.setHangingNetType(addProductRequest.getHangingNetType());
udiRelevanceDao.updateById(udiRelevanceEntity); udiRelevanceDao.updateById(udiRelevanceEntity);
updateLevelCount(udiRelevanceEntity); updateLevelCount(udiRelevanceEntity);
} else { } else {

@ -1362,7 +1362,7 @@ CALL Pro_Temp_ColumnWork('basic_udirel', 'drugSellingPriceTime',
' datetime DEFAULT NULL COMMENT ''售价开始时间''', ' datetime DEFAULT NULL COMMENT ''售价开始时间''',
1); 1);
CALL Pro_Temp_ColumnWork('basic_udirel', 'hangingNetType', CALL Pro_Temp_ColumnWork('basic_udirel', 'hangingNetType',
' tinyint DEFAULT NULL COMMENT ''是否挂网''', ' tinyint DEFAULT NULL COMMENT ''是否挂网 0 否 1 是''',
1); 1);

Loading…
Cancel
Save