|
@@ -118,7 +118,7 @@ public class VenderGoodsLogic {
|
|
|
@Transactional
|
|
|
public void confirm(WebsitVenderGoodsBean bean) {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
- this.edit(bean);
|
|
|
+ bean = this.detail(bean.getSheetId());
|
|
|
bean.setStatus(ExamineStatusEnum.OK.getKey())
|
|
|
.setConfirmBy(adminUser.getNickName())
|
|
|
.setConfirmTime(DateUtil.date())
|
|
@@ -164,7 +164,7 @@ public class VenderGoodsLogic {
|
|
|
public void del(List<String> ids) {
|
|
|
websitVenderGoodsService.removeByIds(ids);
|
|
|
websitVenderGoodsItemService.lambdaUpdate()
|
|
|
- .eq(WebsitVenderGoodsItem::getSheetId, ids)
|
|
|
+ .in(WebsitVenderGoodsItem::getSheetId, ids)
|
|
|
.remove();
|
|
|
}
|
|
|
|