package com.uas.eis.controller; import com.uas.eis.service.ErpService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.RestController; import java.util.Map; /** * 对接ERP业务 * * @author cjx * @date 2020-5-21 */ @RestController public class ErpController { @Autowired ErpService erpService; @RequestMapping("/openapi/applicant/postxx.action") public Map auditafter_post_xx(int pi_id, String master){ return erpService.auditafter_post_xx(pi_id,master); } @RequestMapping("/openapi/applicant/respostxx.action") public Map resuditafter_post_xx(int pi_id, String master){ return erpService.resuditafter_post_xx(pi_id,master); } }