package com.zy.asrs.controller; import com.core.annotations.ManagerAuth; import com.core.common.R; import com.zy.common.service.erp.ErpService; import com.zy.common.service.erp.entity.CPICMO; import com.zy.common.web.BaseController; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Date; import java.util.List; @RestController public class ERPrelevantController extends BaseController { @Autowired private ErpService erpService; @RequestMapping(value = "/erp/cpicmo/query") @ManagerAuth public R add(String fbillNo, String fsourceBillNo) { List erpCPICMOlist = erpService.queryErpCPICMO(fbillNo, fsourceBillNo); return R.ok().add(erpCPICMOlist); } }