交班-网络打印机打印小票

This commit is contained in:
Tankaikai
2025-03-07 15:01:00 +08:00
parent fda743ceee
commit 7e7a764201
2 changed files with 6 additions and 1 deletions

View File

@@ -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)