交班-网络打印机打印小票
This commit is contained in:
parent
fda743ceee
commit
7e7a764201
|
|
@ -38,4 +38,9 @@ public class ProductReportDamageParam implements Serializable {
|
|||
* 报损照片
|
||||
*/
|
||||
private List<String> imgUrls;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -382,7 +382,7 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
|||
entity.setInOutItem(InOutItemEnum.DAMAGE_OUT.value());
|
||||
entity.setSubTotal(NumberUtil.mul(param.getNumber(), consInfo.getPrice()));
|
||||
entity.setImgUrls(JSON.toJSONString(param.getImgUrls()));
|
||||
entity.setRemark("商品报损,自动报损相关耗材");
|
||||
entity.setRemark("【商品报损,自动报损相关耗材】" + StrUtil.nullToDefault(param.getRemark(), ""));
|
||||
consStockFlowMapper.insert(entity);
|
||||
consInfo.setStockNumber(entity.getAfterNumber());
|
||||
UpdateChain.of(ConsInfo.class)
|
||||
|
|
|
|||
Loading…
Reference in New Issue