| | |
| | | import com.consum.base.pojo.response.FormInventoryGoodsVO; |
| | | import com.consum.base.pojo.response.FormInventoryVO; |
| | | import com.consum.base.service.FinSysTenantUserServiceImpl; |
| | | import com.consum.base.service.LWhFormInventoryCoreService; |
| | | import com.consum.base.service.LWhFormInventoryServiceImpl; |
| | | import com.consum.model.po.FinSysTenantUser; |
| | | import com.consum.model.po.LWhFormInventory; |
| | |
| | | private LWhFormInventoryServiceImpl lWhFormInventoryService; |
| | | @Autowired |
| | | private FinSysTenantUserServiceImpl finSysTenantUserService; |
| | | @Autowired |
| | | private LWhFormInventoryCoreService lWhFormInventoryCoreService; |
| | | |
| | | |
| | | /** |
| | |
| | | return ResponseValue.error("参数错误"); |
| | | } |
| | | |
| | | int num = this.lWhFormInventoryService.updateInventoryInfo(dto, 1); |
| | | int num = this.lWhFormInventoryService.updateInventoryInfo(dto, 1, null, null); |
| | | return num > 0 ? ResponseValue.success(1) : ResponseValue.error("暂存失败!"); |
| | | } |
| | | |
| | |
| | | if (dto == null) { |
| | | return ResponseValue.error("参数错误"); |
| | | } |
| | | |
| | | int num = this.lWhFormInventoryService.updateInventoryInfo(dto, 2); |
| | | |
| | | S_user_core currentUser = this.getCurrentUser(); |
| | | FinSysTenantUser sysInfo = this.getSysInfo(); |
| | | int num = this.lWhFormInventoryService.updateInventoryInfo(dto, 2, currentUser, sysInfo); |
| | | |
| | | String inOutFormByInventoryId = lWhFormInventoryCoreService.createInOutFormByInventoryId(dto.getId(), currentUser, sysInfo); |
| | | return num > 0 ? ResponseValue.success(1) : ResponseValue.error(inOutFormByInventoryId); |
| | | return num > 0 ? ResponseValue.success(1) : ResponseValue.error("盘点失败!"); |
| | | } |
| | | |
| | | /** |