|
|
@ -119,15 +119,15 @@ public class CustomerStaffController { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param mobile 手机号 |
|
|
|
* @param account 账户 |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
* @Author yinzuomei |
|
|
|
* @Description 根据手机号查询政府端工作人员基本信息,校验用户是否存在 |
|
|
|
* @Author zhy |
|
|
|
* @Description 根据账户查询政府端工作人员基本信息,校验用户是否存在 |
|
|
|
* @Date 2020/4/18 14:07 |
|
|
|
**/ |
|
|
|
@GetMapping(value = "getcustsomerstaffbyaccount/{account}") |
|
|
|
public Result<List<CustomerStaffDTO>> getCustsomerStaffByAccount(@PathVariable("account") String userAccount) { |
|
|
|
return customerStaffService.getCustsomerStaffByAccount(userAccount); |
|
|
|
public Result<List<CustomerStaffDTO>> getCustsomerStaffByAccount(@PathVariable("account") String account) { |
|
|
|
return customerStaffService.getCustsomerStaffByAccount(account); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
@ -422,6 +422,12 @@ public class CustomerStaffController { |
|
|
|
return new Result<List<CustomerStaffDTO>>().ok(customerStaffService.getCustsomerStaffByIdAndPhone(formDTO)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param formDTO |
|
|
|
* @return |
|
|
|
* @Author zhy |
|
|
|
* @Description 根据客户ID、账户查询政府端工作人员基本信息,校验用户是否存在 |
|
|
|
**/ |
|
|
|
@GetMapping(value = "getCustsomerStaffByIdAndAccount") |
|
|
|
public Result<List<CustomerStaffDTO>> getCustsomerStaffByIdAndAccount(@RequestBody ThirdCustomerStaffByAccountFormDTO formDTO) { |
|
|
|
return new Result<List<CustomerStaffDTO>>().ok(customerStaffService.getCustsomerStaffByIdAndAccount(formDTO)); |
|
|
|