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 = "消耗总量")
|
@ApiModelProperty(value = "消耗总量")
|
||||||
private BigDecimal stockConsume;
|
private BigDecimal stockConsume;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name = "`is_check`")
|
||||||
|
@ApiModelProperty(value = "是否检测库存")
|
||||||
|
private String isCheck;
|
||||||
|
|
||||||
public void copy(TbConsInfo source){
|
public void copy(TbConsInfo source){
|
||||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
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){
|
public void copy(ViewConInfoFlow source){
|
||||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,4 +77,7 @@ public class TbConsInfoDto implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
private String contypeCode;
|
private String contypeCode;
|
||||||
|
|
||||||
|
|
||||||
|
private String isCheck;
|
||||||
}
|
}
|
||||||
|
|
@ -68,4 +68,6 @@ public class TbConsInfoFlowDto implements Serializable {
|
||||||
private Integer orderId;
|
private Integer orderId;
|
||||||
|
|
||||||
private String orderNo;
|
private String orderNo;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -62,4 +62,7 @@ public class ViewConInfoFlowDto implements Serializable {
|
||||||
private String conWarning;
|
private String conWarning;
|
||||||
|
|
||||||
private Integer conTypeId;
|
private Integer conTypeId;
|
||||||
|
|
||||||
|
|
||||||
|
private String isCheck;
|
||||||
}
|
}
|
||||||
|
|
@ -160,7 +160,9 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
|
||||||
tbConsInfo.setConUnit(resource.getConUnit());
|
tbConsInfo.setConUnit(resource.getConUnit());
|
||||||
tbConsInfo.setConWarning(resource.getConWarning());
|
tbConsInfo.setConWarning(resource.getConWarning());
|
||||||
tbConsInfo.setStatus(resource.getStatus());
|
tbConsInfo.setStatus(resource.getStatus());
|
||||||
|
tbConsInfo.setIsCheck(resource.getIsCheck());
|
||||||
tbConsInfo.setUpdateTime(new Timestamp(System.currentTimeMillis()));
|
tbConsInfo.setUpdateTime(new Timestamp(System.currentTimeMillis()));
|
||||||
|
|
||||||
tbConsInfoRepository.save(tbConsInfo);
|
tbConsInfoRepository.save(tbConsInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue