Merge remote-tracking branch 'origin/dev' into dev

pro
郑明梁 2 years ago
commit bec086ca4c

@ -35,7 +35,7 @@ public class PurApplyEntity {
*
*/
@TableField(value = "billType")
private Integer billType;
private String billType;
/**
*

@ -179,5 +179,17 @@ public class ThrProductsEntity {
@TableField("updateUser")
private String updateUser;
/**
*
*/
@TableField("manufactoryCode")
private String manufactoryCode;
/**
*
*/
@TableField("supCode")
private String supCode;
}

@ -1,8 +1,10 @@
package com.glxp.api.entity.thrsys;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("thr_system_detail")
public class ThrSystemDetailEntity {
private Integer id;

@ -38,4 +38,5 @@ public class InnerOrderPrintResponse {
private Integer count;
private String corpName;
private Integer status;
}

@ -19,7 +19,9 @@ public class PurOrderDetailResponse {
private int reCount;
private int planCount;
private Integer sweepCount;
//注册/备案人
private String ylqxzcrbarmc;
//注册/备案号
private String zczbhhzbapzbh;
private BigDecimal price;
private String relId;
@ -46,9 +48,10 @@ public class PurOrderDetailResponse {
private int acceptCount;
private String measname;
private String supId;
//供应商
private String supName;
//采购单号
private String billNo;
private String nameCode;
}

@ -1,6 +1,7 @@
package com.glxp.api.service.thrsys.impl;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.IdUtil;
@ -191,6 +192,7 @@ public class ThrProductsServiceImpl extends ServiceImpl<ThrProductsDao, ThrProdu
} else {
boolean isChange = verifyDataChange(thrProductsEntity, item);
if (isChange) {
BeanUtil.copyProperties(item,thrProductsEntity,new CopyOptions().setIgnoreNullValue(true));
thrProductsEntity.setUpdateTime(new Date());
thrProductsDao.updateEntityById(thrProductsEntity);
}

@ -43,6 +43,8 @@
resultType="com.glxp.api.res.inv.InnerOrderPrintResponse">
SELECT inv_inner_order_print.id,
inv_inner_order_print.udiCode,
inv_inner_order_print.updateTime,
inv_inner_order_print.status,
basic_products.nameCode,
inv_inner_order_print.batchNo,
inv_inner_order_print.productDate,

@ -1,5 +1,10 @@
# 字段新增 表名字段名字段类型修改方式1新增2修改3删除
CALL Pro_Temp_ColumnWork('thr_products', 'manufactoryCode',
'varchar(255) ', 1);
CALL Pro_Temp_ColumnWork('thr_products', 'supCode',
'varchar(255) ', 1);
CALL Pro_Temp_ColumnWork('basic_download_status', 'cacheFilePath',
'varchar(255) ', 1);

Loading…
Cancel
Save