|
@@ -0,0 +1,32 @@
|
|
|
+package com.rongwei.bsserver.controller;
|
|
|
+
|
|
|
+import com.rongwei.bscommon.sys.service.OutSourceService;
|
|
|
+import com.rongwei.bsentity.vo.SubcontractorUserVo;
|
|
|
+import com.rongwei.rwcommon.base.R;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author zhuang
|
|
|
+ * 外协
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/zhcxOutSource")
|
|
|
+public class ZhcxOutSourceController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private OutSourceService outSourceService;
|
|
|
+ /**
|
|
|
+ * 批量复制新增
|
|
|
+ * @param ids
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping("/batchCopy")
|
|
|
+ public R batchCopy(@RequestBody List<String> ids){
|
|
|
+ return outSourceService.batchCopy(ids);
|
|
|
+ }
|
|
|
+}
|