|
|
@ -7,6 +7,7 @@ import com.dsic.gj_erp.bean.jcsj.vo.BomVO;
|
|
|
|
import com.dsic.gj_erp.exception.CustomException;
|
|
|
|
import com.dsic.gj_erp.exception.CustomException;
|
|
|
|
import com.dsic.gj_erp.service.jcsj.DmBomService;
|
|
|
|
import com.dsic.gj_erp.service.jcsj.DmBomService;
|
|
|
|
import com.dsic.gj_erp.service.jcsj.impl.BomUploadServiceImpl;
|
|
|
|
import com.dsic.gj_erp.service.jcsj.impl.BomUploadServiceImpl;
|
|
|
|
|
|
|
|
import com.dsic.gj_erp.service.sy.SYService;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
@ -34,11 +35,19 @@ public class DmBomController {
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|
BomUploadServiceImpl bomUploadService;
|
|
|
|
BomUploadServiceImpl bomUploadService;
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
|
|
|
SYService syService;
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/getListBom")
|
|
|
|
@PostMapping("/getListBom")
|
|
|
|
public ResultBean getListBom(HttpServletRequest req, @RequestBody Map map) throws CustomException {
|
|
|
|
public ResultBean getListBom(HttpServletRequest req, @RequestBody Map map) throws CustomException {
|
|
|
|
List<BomVO> listBom = dmBomService.getListBom(req,map);
|
|
|
|
// List<BomVO> listBom = dmBomService.getListBom(req,map);
|
|
|
|
return new ResultBean(listBom);
|
|
|
|
|
|
|
|
|
|
|
|
String id = syService.f_getpjh("DM", "SYSTEM", "BCHX");
|
|
|
|
|
|
|
|
String id1= syService.f_getpjh("DM", "SYSTEM", "CLDE");
|
|
|
|
|
|
|
|
System.out.println("id = " + id);
|
|
|
|
|
|
|
|
System.out.println("id = " + id1);
|
|
|
|
|
|
|
|
// return new ResultBean(listBom);
|
|
|
|
|
|
|
|
return new ResultBean(null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@PostMapping("/getListBomRealy")
|
|
|
|
@PostMapping("/getListBomRealy")
|
|
|
|
public ResultBean getListBomRealy(HttpServletRequest req, @RequestBody Map map) throws CustomException {
|
|
|
|
public ResultBean getListBomRealy(HttpServletRequest req, @RequestBody Map map) throws CustomException {
|
|
|
|