rev: 异常任务修改

This commit is contained in:
2024-02-28 17:55:13 +08:00
parent a4dda6eafd
commit 797f1480b0
7 changed files with 18 additions and 17 deletions

View File

@@ -10,6 +10,7 @@ import org.nl.b_lms.storage_manage.ios.service.iostorInv.util.impl.*;
import org.nl.b_lms.storage_manage.ios.service.iostorInv.util.service.InBussManageService;
import org.nl.b_lms.storage_manage.ios.service.iostorInv.util.service.LashManageService;
import org.nl.modules.logging.annotation.Log;
import org.nl.modules.wql.util.SpringContextHolder;
import org.nl.wms.st.inbill.service.CheckOutBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
@@ -388,7 +389,8 @@ public class CheckOutBillController {
@PostMapping("/testInBox")
@Log("木箱入库测试")
public ResponseEntity<Object> testInBox(@RequestBody JSONObject whereJson) {
new InBoxManageServiceImpl().inBox(whereJson);
InBoxManageServiceImpl bean = SpringContextHolder.getBean(InBoxManageServiceImpl.class);
bean.inBox(whereJson);
return new ResponseEntity<>(HttpStatus.OK);
}