|
@@ -190,8 +190,13 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
|
|
|
OutStoreForm outStoreForm = new OutStoreForm();
|
|
|
outStoreForm.setId(id);
|
|
|
outStoreForm.setStatus(OutStoreStatusEnum.DELETE.getValue());
|
|
|
- mapper.updateByPrimaryKeySelective(outStoreForm);
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
+ outStoreForm.setUpdateTime(LocalDateTime.now());
|
|
|
+ outStoreForm.setUpdateUserId(userInfo.getUserId());
|
|
|
+ outStoreForm.setUpdateUserName(userInfo.getUsername());
|
|
|
+ mapper.updateByPrimaryKeySelective(outStoreForm);
|
|
|
+
|
|
|
+
|
|
|
|
|
|
// 刪除详情,更新详情涉及的库存
|
|
|
// if (result == 1) {
|