|
@@ -1,44 +1,44 @@
|
|
|
-package com.usky.dxtop.controller.web.business;
|
|
|
-
|
|
|
-import com.usky.dxtop.common.core.domain.ApiResult;
|
|
|
-import com.usky.dxtop.service.job.SmJob;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
-
|
|
|
-/**
|
|
|
- * 世贸定时任务
|
|
|
- * @author yq
|
|
|
- * @date 2021/10/11 17:00
|
|
|
- */
|
|
|
-@RequestMapping("/dxtop/smjob")
|
|
|
-@RestController
|
|
|
-public class SmJobController {
|
|
|
-
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private SmJob smJob;
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取人员信息
|
|
|
- * @param personParam
|
|
|
- * @return
|
|
|
- */
|
|
|
- @PostMapping("personJob")
|
|
|
- public ApiResult personJob(SmJob.PersonParam personParam){
|
|
|
- smJob.personApi(personParam);
|
|
|
- return ApiResult.success();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取部门信息
|
|
|
- * @param groupParam
|
|
|
- * @return
|
|
|
- */
|
|
|
- @PostMapping("deptJob")
|
|
|
- public ApiResult deptJob(SmJob.GroupParam groupParam){
|
|
|
- smJob.groupApi(groupParam);
|
|
|
- return ApiResult.success();
|
|
|
- }
|
|
|
-}
|
|
|
+//package com.usky.dxtop.controller.web.business;
|
|
|
+//
|
|
|
+//import com.usky.dxtop.common.core.domain.ApiResult;
|
|
|
+//import com.usky.dxtop.service.job.SmJob;
|
|
|
+//import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+//import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+//import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+//import org.springframework.web.bind.annotation.RestController;
|
|
|
+//
|
|
|
+///**
|
|
|
+// * 世贸定时任务
|
|
|
+// * @author yq
|
|
|
+// * @date 2021/10/11 17:00
|
|
|
+// */
|
|
|
+//@RequestMapping("/dxtop/smjob")
|
|
|
+//@RestController
|
|
|
+//public class SmJobController {
|
|
|
+//
|
|
|
+//
|
|
|
+// @Autowired
|
|
|
+// private SmJob smJob;
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 获取人员信息
|
|
|
+// * @param personParam
|
|
|
+// * @return
|
|
|
+// */
|
|
|
+// @PostMapping("personJob")
|
|
|
+// public ApiResult personJob(SmJob.PersonParam personParam){
|
|
|
+// smJob.personApi(personParam);
|
|
|
+// return ApiResult.success();
|
|
|
+// }
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 获取部门信息
|
|
|
+// * @param groupParam
|
|
|
+// * @return
|
|
|
+// */
|
|
|
+// @PostMapping("deptJob")
|
|
|
+// public ApiResult deptJob(SmJob.GroupParam groupParam){
|
|
|
+// smJob.groupApi(groupParam);
|
|
|
+// return ApiResult.success();
|
|
|
+// }
|
|
|
+//}
|