|
|
@@ -512,6 +512,8 @@ public class SaleServiceImpl implements SaleService{
|
|
|
saleMapper.updateByPrimaryKeySelective(sale);
|
|
|
prodIODetailMapper.updatePDSaleOut(pi_id);
|
|
|
prodInOutMapper.updatePiTotal(pi_id);
|
|
|
+ //更新创建人
|
|
|
+ prodInOutMapper.updateCreator(BaseContextHolder.getUserId(), BaseContextHolder.getUserName(), pi_id);
|
|
|
//日志记录
|
|
|
DocBaseDTO log = new DocBaseDTO(id, sale.getSa_code(), BillCodeSeq.SALEOUT.getCaller());
|
|
|
messageLogService.customizeLog(log, Operation.TURNPRODOUT);
|