OrderProjectApiController.java 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. package com.goafanti.order.controller;
  2. import java.io.IOException;
  3. import java.text.ParseException;
  4. import java.text.SimpleDateFormat;
  5. import java.util.List;
  6. import javax.servlet.http.HttpServletRequest;
  7. import javax.servlet.http.HttpServletResponse;
  8. import javax.validation.Valid;
  9. import com.goafanti.common.model.TOrderTask;
  10. import com.goafanti.order.bo.*;
  11. import com.goafanti.order.service.OrderNewService;
  12. import org.springframework.beans.factory.annotation.Autowired;
  13. import org.springframework.beans.factory.annotation.Value;
  14. import org.springframework.validation.BindingResult;
  15. import org.springframework.web.bind.annotation.RequestMapping;
  16. import org.springframework.web.bind.annotation.RequestMethod;
  17. import org.springframework.web.bind.annotation.RestController;
  18. import com.goafanti.common.bo.Result;
  19. import com.goafanti.common.constant.AFTConstants;
  20. import com.goafanti.common.constant.ErrorConstants;
  21. import com.goafanti.common.controller.CertifyApiController;
  22. import com.goafanti.common.enums.OfficialPatentType;
  23. import com.goafanti.common.model.TTaskHours;
  24. import com.goafanti.common.utils.StringUtils;
  25. import com.goafanti.common.utils.excel.NewExcelUtil;
  26. import com.goafanti.core.shiro.token.TokenManager;
  27. import com.goafanti.order.service.OrderProjectService;
  28. @RestController
  29. @RequestMapping(value = "/api/admin/orderProject")
  30. public class OrderProjectApiController extends CertifyApiController {
  31. @Autowired
  32. private OrderProjectService orderProjectService;
  33. @Autowired
  34. private OrderNewService orderNewService;
  35. @Value(value = "${upload.path}")
  36. private String uploadPath = null;
  37. /**
  38. * 项目分配
  39. * taskId 项目ID
  40. * taskReceiverId 受理人ID
  41. * type 0管理员派单 1经理转交 2经理派单 3咨询师转交 4回退
  42. */
  43. @RequestMapping(value = "/projectDistribution", method = RequestMethod.POST)
  44. public Result projectDistribution(Integer taskId,String taskReceiverId ,String remarks,Integer type){
  45. Result res = new Result();
  46. if(null==taskId || StringUtils.isBlank(taskReceiverId)){
  47. res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "任务编号和受理人"));
  48. return res;
  49. }
  50. if(type==null) type=0;
  51. boolean flag=true;
  52. if (type==0&&(TokenManager.hasRole(AFTConstants.TECH_ADMIN)||TokenManager.hasRole(AFTConstants.SUPERADMIN)))flag=false;
  53. else if ((type==1||type==2)&&TokenManager.hasRole(AFTConstants.TECH_MANAGER))flag=false;
  54. else if ((type==3||type==4)&&TokenManager.hasRole(AFTConstants.TECH))flag=false;
  55. if (flag) {
  56. res.getError().add(buildError("角色不正确,请勿在浏览器登录多个账号!"));
  57. return res;
  58. }
  59. res.setData(orderProjectService.updateProjectDistribution( taskId, taskReceiverId,remarks,type));
  60. return res;
  61. }
  62. /**
  63. * 任务派单列表 我的任务,我的外包任务
  64. * specially 0我的任务 1任务派单
  65. * 我的任务不看父项目,只看子项目 ,任务派单子项目父项目都会存在
  66. */
  67. @RequestMapping(value="/orderTaskList" ,method = RequestMethod.GET)
  68. public Result orderTaskList(inuptTaskListBo ib){
  69. Result res=new Result();
  70. res.setData(orderProjectService.orderTaskList(ib));
  71. return res;
  72. }
  73. /**
  74. * 任务派单查询
  75. */
  76. @RequestMapping(value="/selectTaskList" ,method = RequestMethod.GET)
  77. public Result selectTaskList(String name,String orderNo,String taskId,Integer taskStatus,String adminName,Integer specially ,String depId ,Integer pageNo,Integer pageSize){
  78. Result res=new Result();
  79. res.setData(orderProjectService.selectTaskList( name, orderNo, taskId, taskStatus, adminName,specially , depId ,pageNo, pageSize));
  80. return res;
  81. }
  82. /**
  83. * 经理查询订单
  84. */
  85. @RequestMapping(value="/managerSelect" ,method = RequestMethod.GET)
  86. public Result managerSelect(String name,String orderNo,String contractNo,String cid,String projectType,
  87. String depId,String techDepId ,Integer declarationBatch ,String commodityPrice,String startTime,
  88. String endTime,Integer pageNo,Integer pageSize){
  89. Result res=new Result();
  90. res.setData(orderProjectService.managerSelect( name, orderNo, contractNo, cid, projectType,
  91. depId, techDepId , declarationBatch ,commodityPrice,startTime, endTime , pageNo, pageSize));
  92. return res;
  93. }
  94. /**
  95. * 经理查询订单
  96. */
  97. @RequestMapping(value="/exportManagerSelect" ,method = RequestMethod.GET)
  98. public Result exportManagerSelect(String name,String orderNo,String contractNo,String cid,String projectType,
  99. String depId,String techDepId ,Integer declarationBatch ,String commodityPrice,String startTime,
  100. String endTime,Integer pageNo,Integer pageSize){
  101. @SuppressWarnings("unchecked")
  102. List<managerListBo> list=(List<managerListBo>) orderProjectService.managerSelect( name, orderNo, contractNo,
  103. cid, projectType,depId, techDepId , declarationBatch ,commodityPrice,startTime, endTime , pageNo, pageSize).getList();
  104. NewExcelUtil<managerListBo> excel=new NewExcelUtil<>(managerListBo.class);
  105. return excel.exportExcel(list, "企业项目查询列表", uploadPath);
  106. }
  107. /**
  108. * 任务详情
  109. */
  110. @RequestMapping(value="/orderTaskDetail" ,method = RequestMethod.GET)
  111. public Result orderTaskDetail(String id){
  112. Result res=new Result();
  113. res.setData(orderProjectService.orderTaskDetail(id));
  114. return res;
  115. }
  116. /**
  117. * 任务修改(咨询师)
  118. */
  119. @RequestMapping(value="/updateOrderTask" ,method = RequestMethod.POST)
  120. public Result updateOrderTask(TOrderTaskDetailBo t){
  121. Result res=new Result();
  122. res.setData(orderProjectService.updateOrderTask(t));
  123. return res;
  124. }
  125. /**
  126. * 修改项目状态(咨询师)
  127. */
  128. @RequestMapping(value="/updateProjectStatus" ,method = RequestMethod.POST)
  129. public Result updateProjectStatus(@Valid UpdateProjectStatusBo a,BindingResult bindingResult){
  130. Result res=new Result();
  131. if (bindingResult.hasErrors()) {
  132. res.getError().add(buildErrorByMsg(bindingResult.getFieldError().getDefaultMessage()));
  133. return res;
  134. }
  135. res.setData(orderProjectService.updateProjectStatus( a));
  136. return res;
  137. }
  138. /**
  139. * 添加工时
  140. */
  141. @RequestMapping(value="/addTaskHours" ,method = RequestMethod.POST)
  142. public Result addTaskHours(TTaskHours t,String taskDate){
  143. Result res=new Result();
  144. if (t.getHours()==null) {
  145. res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "任务时间"));
  146. return res;
  147. }
  148. if (StringUtils.isBlank(taskDate)) {
  149. res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "工作日期"));
  150. return res;
  151. }
  152. if (StringUtils.isBlank(t.getRemarks())) {
  153. res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "工作内容"));
  154. return res;
  155. }
  156. if (StringUtils.isNotBlank(taskDate)) {
  157. SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
  158. try {
  159. t.setTaskDay(sdf.parse(taskDate));
  160. } catch (ParseException e) {
  161. e.printStackTrace();
  162. }
  163. }
  164. res.setData(orderProjectService.addTaskHours(t));
  165. return res;
  166. }
  167. /**
  168. * 任务工时列表
  169. */
  170. @RequestMapping(value="/taskHoursList" ,method = RequestMethod.GET)
  171. public Result taskHoursList(inuptTaskHoursListBo ib,
  172. Integer pageNo, Integer pageSize){
  173. Result res=new Result();
  174. res.setData(orderProjectService.taskHoursList(ib,pageNo, pageSize));
  175. return res;
  176. }
  177. /**
  178. * 任务工时详情列表
  179. */
  180. @RequestMapping(value="/taskHoursDetailsList" ,method = RequestMethod.GET)
  181. public Result taskHoursDetailsList( String taskId ){
  182. Result res=new Result();
  183. if (StringUtils.isBlank(taskId)) {
  184. res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "项目编号"));
  185. return res;
  186. }
  187. res.setData(orderProjectService.taskHoursDetailsList(taskId));
  188. return res;
  189. }
  190. /**
  191. * 任务操作日志
  192. */
  193. @RequestMapping(value="/TaskLogList" ,method = RequestMethod.GET)
  194. public Result TaskLogList(Integer id){
  195. Result res=new Result();
  196. res.setData(orderProjectService.TaskLogList(id));
  197. return res;
  198. }
  199. /** 任务文件上传 **/
  200. @RequestMapping(value = "/uploadOrderTaskFile", method = RequestMethod.POST)
  201. public Result uploadOrderTaskFile(HttpServletRequest req,String sign){
  202. Result res = new Result();
  203. res.setData(handleFile(res, "/order_task_file/", false, req, sign));
  204. return res;
  205. }
  206. /**
  207. * 新增项目申报进度
  208. */
  209. @RequestMapping(value="/createTaskProgress" ,method = RequestMethod.POST)
  210. public Result createTaskProgress(TaskProgressBo t){
  211. Result res=new Result();
  212. if ( null==t.getTaskId()|| null==t.getAlreadyNumber()) {
  213. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"参数","参数"));
  214. }
  215. res.setData(orderProjectService.createTaskProgress(t));
  216. return res;
  217. }
  218. /**
  219. * 修改项目申报进度
  220. */
  221. @RequestMapping(value="/updateTaskProgress" ,method = RequestMethod.POST)
  222. public Result updateTaskProgress(TaskProgressBo t){
  223. Result res=new Result();
  224. if (null==t.getTaskId()|| null==t.getAlreadyNumber()) {
  225. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"参数","参数"));
  226. }
  227. res.setData(orderProjectService.updateTaskProgress(t));
  228. return res;
  229. }
  230. /**
  231. * 删除项目申报进度
  232. */
  233. @RequestMapping(value="/delectTaskProgress" ,method = RequestMethod.POST)
  234. public Result delectTaskProgress(Integer id){
  235. Result res=new Result();
  236. if (null==id) {
  237. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"参数","参数"));
  238. }
  239. res.setData(orderProjectService.delectTaskProgress(id));
  240. return res;
  241. }
  242. /**
  243. * 查看项目申报进度
  244. */
  245. @RequestMapping(value="/selectTaskProgress" ,method = RequestMethod.GET)
  246. public Result selectTaskProgress(Integer tid){
  247. Result res=new Result();
  248. if (null==tid) {
  249. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"参数","参数"));
  250. }
  251. res.setData(orderProjectService.selectTaskProgress(tid));
  252. return res;
  253. }
  254. /**
  255. * 项目申报进度日志
  256. */
  257. @RequestMapping(value="/selectTaskProgressLog" ,method = RequestMethod.GET)
  258. public Result selectTaskProgressLog(Integer tid){
  259. Result res=new Result();
  260. if (null==tid) {
  261. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"参数","参数"));
  262. }
  263. res.setData(orderProjectService.selectTaskProgressLog(tid));
  264. return res;
  265. }
  266. /**
  267. * 拆分项目
  268. */
  269. @RequestMapping(value="/addSplitProject" ,method = RequestMethod.POST)
  270. public Result addSplitProject(Integer tid,String splitList){
  271. Result res=new Result();
  272. if (null==tid||StringUtils.isBlank(splitList)) {
  273. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"项目和拆分数","项目和拆分数"));
  274. return res;
  275. }
  276. int i=orderProjectService.pushSplitProject(tid,splitList);
  277. if (i==-1) {
  278. res.getError().add(buildError(ErrorConstants.PARAM_ERROR,"拆分数","拆分数"));
  279. return res;
  280. }
  281. res.setData(i);
  282. return res;
  283. }
  284. /**
  285. * 拆分项目列表
  286. */
  287. @RequestMapping(value="/splitProjectList" ,method = RequestMethod.GET)
  288. public Result splitProjectList(Integer tid){
  289. Result res=new Result();
  290. if (null==tid) {
  291. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"项目和拆分数","项目和拆分数"));
  292. return res;
  293. }
  294. res.setData(orderProjectService.splitProjectList(tid));
  295. return res;
  296. }
  297. /**
  298. * 我的工时列表导出xls
  299. * @throws IOException
  300. */
  301. @RequestMapping(value = "/exportMyTaskList", method = RequestMethod.GET)
  302. public Result exportMyTaskList(HttpServletResponse response,inuptTaskHoursListBo ib, Integer pageNo, Integer pageSize) {
  303. if(pageSize==null)pageSize=999999;
  304. @SuppressWarnings("unchecked")
  305. List<TOrderTaskListBo> list=(List<TOrderTaskListBo>) orderProjectService.taskHoursList(ib, pageNo, pageSize).getList();
  306. NewExcelUtil<TOrderTaskListBo> excel=new NewExcelUtil<>(TOrderTaskListBo.class);
  307. return excel.exportExcel(list, "工时信息记录表", response);
  308. }
  309. /**
  310. * 我的任务列表导出xls
  311. * @throws IOException
  312. */
  313. @RequestMapping(value = "/exporProjectList", method = RequestMethod.GET)
  314. public Result exporProjectList(HttpServletResponse response,inuptTaskListBo ib) {
  315. if(ib.getPageSize()==null)ib.setPageSize(99999);
  316. String str="项目任务列表";
  317. @SuppressWarnings("unchecked")
  318. List<TOrderTaskListBo> list=(List<TOrderTaskListBo>) orderProjectService.orderTaskList(ib).getList();
  319. NewExcelUtil<TOrderTaskListBo>excel=new NewExcelUtil<>(TOrderTaskListBo.class);
  320. return excel.exportExcel(list, str, response);
  321. }
  322. /**
  323. * 项目日志 (转交日志)
  324. * @param tid
  325. * @return
  326. */
  327. @RequestMapping(value = "/taskAttributionLog",method = RequestMethod.GET)
  328. public Result taskAttributionLog(Integer tid) {
  329. Result res =new Result();
  330. if (tid==null) {
  331. res.getError().add(buildError(ErrorConstants.PARAM_ERROR,"项目编号","项目编号"));
  332. return res;
  333. }
  334. res.data(orderProjectService.taskAttributionLog(tid));
  335. return res;
  336. }
  337. /**
  338. * 客户项目列表
  339. * @return
  340. */
  341. @RequestMapping(value = "/selectUidByproject",method = RequestMethod.GET)
  342. public Result selectUidByproject(String uid) {
  343. Result res =new Result();
  344. if (uid==null) {
  345. res.getError().add(buildError(ErrorConstants.PARAM_ERROR,"客户编号","客户编号"));
  346. return res;
  347. }
  348. res.data( orderProjectService.selectUidByproject(uid) );
  349. return res;
  350. }
  351. /**
  352. * 发起项目核对
  353. * @param tid
  354. * @return
  355. */
  356. @RequestMapping(value = "/addProjectCheck",method = RequestMethod.POST)
  357. public Result addProjectCheck(Integer tid) {
  358. Result res =new Result();
  359. if (tid==null) {
  360. res.getError().add(buildError(ErrorConstants.PARAM_ERROR,"项目编号","项目编号"));
  361. return res;
  362. }
  363. res.data( orderProjectService.addProjectCheck(tid) );
  364. return res;
  365. }
  366. /**
  367. * 核对日志
  368. * @param tid
  369. * @return
  370. */
  371. @RequestMapping(value = "/projectCheckLog",method = RequestMethod.GET)
  372. public Result projectCheckLog(Integer tid) {
  373. Result res =new Result();
  374. if (tid==null) {
  375. res.getError().add(buildError(ErrorConstants.PARAM_ERROR,"项目编号","项目编号"));
  376. return res;
  377. }
  378. res.data( orderProjectService.projectCheckLog(tid) );
  379. return res;
  380. }
  381. /**
  382. * 获取专利分类
  383. * @return
  384. */
  385. @RequestMapping(value = "/getPatentType",method = RequestMethod.GET)
  386. public Result getPatentType() {
  387. Result res =new Result();
  388. res.data(OfficialPatentType.getStatus());
  389. return res;
  390. }
  391. /**
  392. * 核对列表
  393. * @return
  394. */
  395. @RequestMapping(value = "/selectProjectCheck",method = RequestMethod.GET)
  396. public Result selectProjectCheck(InputProjectCheck in) {
  397. Result res =new Result();
  398. res.data(orderProjectService.selectProjectCheck(in));
  399. return res;
  400. }
  401. /**
  402. * 高新复审统计
  403. */
  404. @RequestMapping(value = "/highNewRetrialStatistics",method = RequestMethod.GET)
  405. public Result highNewRetrialStatistics(String depId,String startDate,String endDate) {
  406. Result res =new Result();
  407. res.data(orderProjectService.highNewRetrialStatistics(depId,startDate,endDate));
  408. return res;
  409. }
  410. /**
  411. * 高新复审统计
  412. */
  413. @RequestMapping(value = "/highNewRetrialStatistics/export",method = RequestMethod.GET)
  414. public Result highNewRetrialStatisticsExport(String depId,String startDate,String endDate,String depName) {
  415. List<OutHighNewRetrialStatistics> list=orderProjectService.highNewRetrialStatistics(depId,startDate,endDate);
  416. NewExcelUtil<OutHighNewRetrialStatistics> newExcelUtil=new NewExcelUtil<>(OutHighNewRetrialStatistics.class);
  417. StringBuffer str=new StringBuffer("搜索条件=》");
  418. if (depName!=null)str=str.append("部门:").append(depName).append(",");
  419. if (startDate!=null&&endDate!=null)str=str.append("时间:").append(startDate).append("~").append(endDate).append(",");
  420. return newExcelUtil.exportExcel(list,"高新复审统计",uploadPath,str.substring(0,str.toString().length()-1));
  421. }
  422. /**
  423. * 高新复审详情列表
  424. */
  425. @RequestMapping(value = "/highNewRetrialList",method = RequestMethod.GET)
  426. public Result highNewRetrialList(String province,String depId,String startDate,String endDate,String aid,Integer sort) {
  427. Result res =new Result();
  428. res.data(orderProjectService.highNewRetrialList(province,depId,aid,sort,startDate,endDate));
  429. return res;
  430. }
  431. @RequestMapping(value = "/highNewRetrialList/export",method = RequestMethod.GET)
  432. public Result highNewRetrialListExport(String province,String provinceName,String depId,String depName,String startDate,String endDate,String aid,
  433. String aName,Integer sort) {
  434. List<OutHighNewRetrialList> list=orderProjectService.highNewRetrialList(province,depId,aid,sort,startDate,endDate);
  435. NewExcelUtil<OutHighNewRetrialList> newExcelUtil=new NewExcelUtil<>(OutHighNewRetrialList.class);
  436. StringBuffer str=new StringBuffer("搜索条件=》");
  437. if (provinceName!=null)str=str.append("省份:").append(provinceName).append(",");
  438. if (depName!=null)str=str.append("部门:").append(depName).append(",");
  439. if (aName!=null)str=str.append("跟进人:").append(aName).append(",");
  440. if (startDate!=null&&endDate!=null)str=str.append("时间:").append(startDate).append("~").append(endDate).append(",");
  441. if(sort!=null){
  442. str=str.append("排序:");
  443. if(sort==0)str=str.append("按签通过高新排序");
  444. else if(sort==1)str=str.append("按未通过高新排序");
  445. }
  446. return newExcelUtil.exportExcel(list,"高新复审详情",uploadPath,str.substring(0,str.toString().length()-1));
  447. }
  448. /**
  449. * 新增会员项目
  450. * @param t
  451. * @return
  452. */
  453. @RequestMapping(value = "/addMemberProject" ,method = RequestMethod.POST)
  454. public Result addMemberProject(TOrderTask t){
  455. Result res = new Result();
  456. if(org.apache.commons.lang3.StringUtils.isBlank(t.getOrderNo())){
  457. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"","订单编号"));
  458. return res;
  459. }
  460. t.setProcessStatus(1);
  461. t.setMain(0);
  462. return res.data(orderNewService.addMemberProject(t));
  463. }
  464. /**
  465. * 会员项目审核
  466. * @param in
  467. * @return
  468. */
  469. @RequestMapping(value = "/examineMemberProject" ,method = RequestMethod.POST)
  470. public Result examineMemberProject(InputMenber in){
  471. Result res = new Result();
  472. if(in.getId()==null){
  473. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"项目编号"));
  474. return res;
  475. }
  476. return res.data(orderProjectService.pushExamineMemberProject(in));
  477. }
  478. /**
  479. * 会员项目修改
  480. * @param t
  481. * @return
  482. */
  483. @RequestMapping(value = "/updateMemberProject" ,method = RequestMethod.POST)
  484. public Result updateMemberProject(TOrderTask t){
  485. Result res = new Result();
  486. if(t.getId()==null){
  487. res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"项目编号"));
  488. return res;
  489. }
  490. return res.data(orderProjectService.updateMemberProject(t));
  491. }
  492. /**
  493. * 会员项目列表
  494. * @param in
  495. * @return
  496. */
  497. @RequestMapping(value = "/memberList" ,method = RequestMethod.GET)
  498. public Result memberList(InputMemberList in){
  499. Result res = new Result();
  500. return res.data(orderProjectService.memberList(in));
  501. }
  502. /**
  503. * 会员项目列表
  504. * @return
  505. */
  506. @RequestMapping(value = "/memberLog" ,method = RequestMethod.GET)
  507. public Result memberLog(Integer id){
  508. Result res = new Result();
  509. return res.data(orderProjectService.memberLog(id));
  510. }
  511. /**
  512. * 会员项目列表
  513. * @param in
  514. * @return
  515. */
  516. @RequestMapping(value = "/memberList/export" ,method = RequestMethod.GET)
  517. public Result memberListExport(InputMemberList in){
  518. return orderProjectService.memberListExport(in);
  519. }
  520. /** 文件上传 **/
  521. @RequestMapping(value = "/uploadMemberFile", method = RequestMethod.POST)
  522. public Result uploadOrderInvoiceFile(HttpServletRequest req,String sign){
  523. Result res = new Result();
  524. res.setData(handleFile(res, "/member_project/", false, req, sign));
  525. return res;
  526. }
  527. }