|
@@ -9,7 +9,7 @@ import com.gree.mall.manager.exception.RemoteServiceException;
|
|
import com.gree.mall.manager.helper.ResponseHelper;
|
|
import com.gree.mall.manager.helper.ResponseHelper;
|
|
import com.gree.mall.manager.logic.worker.WorkerTeamLogic;
|
|
import com.gree.mall.manager.logic.worker.WorkerTeamLogic;
|
|
import com.gree.mall.manager.plus.entity.WorkerTeam;
|
|
import com.gree.mall.manager.plus.entity.WorkerTeam;
|
|
-import com.gree.mall.manager.zfire.bean.ZfireParamBean;
|
|
|
|
|
|
+import com.gree.mall.manager.zfire.bean.WorkerTeamParamBean;
|
|
import com.gree.mall.manager.zfire.util.FieldUtils;
|
|
import com.gree.mall.manager.zfire.util.FieldUtils;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -35,7 +35,7 @@ public class WorkerTeamController {
|
|
@ZfireList
|
|
@ZfireList
|
|
@PostMapping("/list")
|
|
@PostMapping("/list")
|
|
@ApiOperation(value = "列表")
|
|
@ApiOperation(value = "列表")
|
|
- public ResponseHelper<IPage<WorkerTeamVO>> list(@RequestBody ZfireParamBean zfireParamBean) {
|
|
|
|
|
|
+ public ResponseHelper<IPage<WorkerTeamVO>> list(@RequestBody WorkerTeamParamBean zfireParamBean) {
|
|
IPage<WorkerTeamVO> list = workerTeamLogic.list(zfireParamBean);
|
|
IPage<WorkerTeamVO> list = workerTeamLogic.list(zfireParamBean);
|
|
return ResponseHelper.success(list, new TypeReference<WorkerTeamVO>() {
|
|
return ResponseHelper.success(list, new TypeReference<WorkerTeamVO>() {
|
|
});
|
|
});
|
|
@@ -43,7 +43,7 @@ public class WorkerTeamController {
|
|
|
|
|
|
@PostMapping("/list/export")
|
|
@PostMapping("/list/export")
|
|
@ApiOperation(value = "导出")
|
|
@ApiOperation(value = "导出")
|
|
- public void listExport(@RequestBody ZfireParamBean zfireParamBean, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
|
|
|
|
+ public void listExport(@RequestBody WorkerTeamParamBean zfireParamBean, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
//2.查询要导出的内容
|
|
//2.查询要导出的内容
|
|
IPage<WorkerTeamVO> list = workerTeamLogic.list(zfireParamBean);
|
|
IPage<WorkerTeamVO> list = workerTeamLogic.list(zfireParamBean);
|
|
//3.导出
|
|
//3.导出
|