|
@@ -1,6 +1,5 @@
|
|
package com.ym.mec.web.controller.education;
|
|
package com.ym.mec.web.controller.education;
|
|
|
|
|
|
-import com.ym.mec.biz.dal.dto.CirculationUser;
|
|
|
|
import com.ym.mec.biz.dal.dto.OAFinancialDto;
|
|
import com.ym.mec.biz.dal.dto.OAFinancialDto;
|
|
import com.ym.mec.biz.service.ContractService;
|
|
import com.ym.mec.biz.service.ContractService;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
@@ -9,9 +8,6 @@ import io.swagger.annotations.Api;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
-import java.util.List;
|
|
|
|
-
|
|
|
|
@RequestMapping("oaContracts")
|
|
@RequestMapping("oaContracts")
|
|
@Api(tags = "OA签章服务")
|
|
@Api(tags = "OA签章服务")
|
|
@RestController
|
|
@RestController
|
|
@@ -22,49 +18,6 @@ public class OaContractsController extends BaseController {
|
|
|
|
|
|
@PostMapping("finance")
|
|
@PostMapping("finance")
|
|
public HttpResponseResult<String> transferProduceContract(@RequestBody OAFinancialDto financialDto) {
|
|
public HttpResponseResult<String> transferProduceContract(@RequestBody OAFinancialDto financialDto) {
|
|
-// List<CirculationUser> circulationUsers = new ArrayList<>();
|
|
|
|
-// CirculationUser circulationUser1 = new CirculationUser();
|
|
|
|
-// circulationUser1.setUserId(100002);
|
|
|
|
-// circulationUser1.setRealName("宋筠");
|
|
|
|
-// circulationUser1.setPhone("13986250561");
|
|
|
|
-// circulationUser1.setIdCard("420527198308075343");
|
|
|
|
-// circulationUser1.setState("主管审批");
|
|
|
|
-// circulationUser1.setRemark("费用无误通过");
|
|
|
|
-// circulationUser1.setWorkOrderId(1);
|
|
|
|
-// circulationUsers.add(circulationUser1);
|
|
|
|
-//
|
|
|
|
-// CirculationUser circulationUser2 = new CirculationUser();
|
|
|
|
-// circulationUser2.setUserId(100134);
|
|
|
|
-// circulationUser2.setRealName("李志超");
|
|
|
|
-// circulationUser2.setPhone("18249982421");
|
|
|
|
-// circulationUser2.setIdCard("372901199202297212");
|
|
|
|
-// circulationUser2.setState("经理审批");
|
|
|
|
-// circulationUser2.setRemark("费用无误通过");
|
|
|
|
-// circulationUser2.setWorkOrderId(1);
|
|
|
|
-// circulationUsers.add(circulationUser2);
|
|
|
|
-//
|
|
|
|
-// List<CirculationUser> executors = new ArrayList<>();
|
|
|
|
-//
|
|
|
|
-// CirculationUser executor1 = new CirculationUser();
|
|
|
|
-// executor1.setUserId(100229);
|
|
|
|
-// executor1.setRealName("刘德蕊");
|
|
|
|
-// executor1.setPhone("18198285631");
|
|
|
|
-// executor1.setIdCard("510102196408016563");
|
|
|
|
-// executor1.setState("分部会计");
|
|
|
|
-// executor1.setRemark("费用无误通过");
|
|
|
|
-// executor1.setWorkOrderId(1);
|
|
|
|
-// executors.add(executor1);
|
|
|
|
-//
|
|
|
|
-// CirculationUser executor2 = new CirculationUser();
|
|
|
|
-// executor2.setUserId(100201);
|
|
|
|
-// executor2.setRealName("蔡明哲");
|
|
|
|
-// executor2.setPhone("18611812776");
|
|
|
|
-// executor2.setIdCard("230204198110311914");
|
|
|
|
-// executor2.setState("财务经理");
|
|
|
|
-// executor2.setRemark("费用无误通过");
|
|
|
|
-// executor2.setWorkOrderId(1);
|
|
|
|
-// executors.add(executor2);
|
|
|
|
-
|
|
|
|
String fileUrl = contractService.transferOaFinancial(financialDto);
|
|
String fileUrl = contractService.transferOaFinancial(financialDto);
|
|
return succeed(fileUrl);
|
|
return succeed(fileUrl);
|
|
}
|
|
}
|