|
@ -1,5 +1,6 @@ |
|
|
package com.epmet.controller; |
|
|
package com.epmet.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.epmet.commons.extappauth.annotation.ExternalAppRequestAuth; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
import com.epmet.dto.form.*; |
|
|
import com.epmet.dto.form.*; |
|
@ -33,6 +34,7 @@ public class OpenUpController { |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2020/8/13 9:42 上午 |
|
|
* @date 2020/8/13 9:42 上午 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
@ExternalAppRequestAuth |
|
|
@PostMapping("staffsingrid") |
|
|
@PostMapping("staffsingrid") |
|
|
public Result<List<StaffSinGridResultDTO>> staffSinGrid(@RequestBody StaffSinGridFormDTO formDTO){ |
|
|
public Result<List<StaffSinGridResultDTO>> staffSinGrid(@RequestBody StaffSinGridFormDTO formDTO){ |
|
|
ValidatorUtils.validateEntity(formDTO, StaffSinGridFormDTO.StaffSinGrid.class); |
|
|
ValidatorUtils.validateEntity(formDTO, StaffSinGridFormDTO.StaffSinGrid.class); |
|
@ -45,6 +47,7 @@ public class OpenUpController { |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2020/8/13 9:51 上午 |
|
|
* @date 2020/8/13 9:51 上午 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
@ExternalAppRequestAuth |
|
|
@PostMapping("staffsindept") |
|
|
@PostMapping("staffsindept") |
|
|
public Result<List<StaffSinDeptResultDTO>> staffSinDept(@RequestBody StaffSinDeptFormDTO formDTO){ |
|
|
public Result<List<StaffSinDeptResultDTO>> staffSinDept(@RequestBody StaffSinDeptFormDTO formDTO){ |
|
|
ValidatorUtils.validateEntity(formDTO, StaffSinDeptFormDTO.StaffSinDept.class); |
|
|
ValidatorUtils.validateEntity(formDTO, StaffSinDeptFormDTO.StaffSinDept.class); |
|
@ -57,6 +60,7 @@ public class OpenUpController { |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2020/8/17 9:59 上午 |
|
|
* @date 2020/8/17 9:59 上午 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
@ExternalAppRequestAuth |
|
|
@PostMapping("staffsinagency") |
|
|
@PostMapping("staffsinagency") |
|
|
public Result<List<StaffSinAgencyResultDTO>> staffSinAgency(@RequestBody StaffSinAgencyFormDTO formDTO){ |
|
|
public Result<List<StaffSinAgencyResultDTO>> staffSinAgency(@RequestBody StaffSinAgencyFormDTO formDTO){ |
|
|
ValidatorUtils.validateEntity(formDTO, StaffSinAgencyFormDTO.StaffSinAgency.class); |
|
|
ValidatorUtils.validateEntity(formDTO, StaffSinAgencyFormDTO.StaffSinAgency.class); |
|
|