Merge remote-tracking branch 'origin/dev' into zs
This commit is contained in:
commit
9bfa67d71b
|
|
@ -101,6 +101,12 @@ public class TbConsInfo implements Serializable {
|
|||
@ApiModelProperty(value = "消耗总量")
|
||||
private BigDecimal stockConsume;
|
||||
|
||||
|
||||
|
||||
@Column(name = "`is_check`")
|
||||
@ApiModelProperty(value = "是否检测库存")
|
||||
private String isCheck;
|
||||
|
||||
public void copy(TbConsInfo source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,6 +110,12 @@ public class ViewConInfoFlow implements Serializable {
|
|||
|
||||
|
||||
|
||||
@Column(name = "`is_check`")
|
||||
@ApiModelProperty(value = "是否检测库存")
|
||||
private String isCheck;
|
||||
|
||||
|
||||
|
||||
public void copy(ViewConInfoFlow source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,4 +77,7 @@ public class TbConsInfoDto implements Serializable {
|
|||
|
||||
|
||||
private String contypeCode;
|
||||
|
||||
|
||||
private String isCheck;
|
||||
}
|
||||
|
|
@ -68,4 +68,6 @@ public class TbConsInfoFlowDto implements Serializable {
|
|||
private Integer orderId;
|
||||
|
||||
private String orderNo;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -62,4 +62,7 @@ public class ViewConInfoFlowDto implements Serializable {
|
|||
private String conWarning;
|
||||
|
||||
private Integer conTypeId;
|
||||
|
||||
|
||||
private String isCheck;
|
||||
}
|
||||
|
|
@ -160,7 +160,9 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
|
|||
tbConsInfo.setConUnit(resource.getConUnit());
|
||||
tbConsInfo.setConWarning(resource.getConWarning());
|
||||
tbConsInfo.setStatus(resource.getStatus());
|
||||
tbConsInfo.setIsCheck(resource.getIsCheck());
|
||||
tbConsInfo.setUpdateTime(new Timestamp(System.currentTimeMillis()));
|
||||
|
||||
tbConsInfoRepository.save(tbConsInfo);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue