Commit a4d6878b by 284718418@qq.com

修改成大写

parent ee017bec
...@@ -47,7 +47,7 @@ public class CallBackContorll { ...@@ -47,7 +47,7 @@ public class CallBackContorll {
private String base_api_url; private String base_api_url;
@PostMapping(value = "/insuredCallBack") @PostMapping(value = "/insuredCallBack")
@ApiOperation(value = "6.投保申请回调", httpMethod = "Post", notes = "投保申请回调") @ApiOperation(value = "6.投保申请回调", httpMethod = "POST", notes = "投保申请回调")
@ApiOperationSupport(order = 2) @ApiOperationSupport(order = 2)
private Map insuredCallBack(HttpServletRequest request, @RequestParam String pid, @RequestParam String sign, @RequestParam String timestamp) throws IOException { private Map insuredCallBack(HttpServletRequest request, @RequestParam String pid, @RequestParam String sign, @RequestParam String timestamp) throws IOException {
Map map = Maps.newHashMap(); Map map = Maps.newHashMap();
...@@ -76,7 +76,7 @@ public class CallBackContorll { ...@@ -76,7 +76,7 @@ public class CallBackContorll {
} }
@PostMapping(value = "/CallBack") @PostMapping(value = "/CallBack")
@ApiOperation(value = "7.保全增员申请回调", httpMethod = "Post", notes = "投保申请回调") @ApiOperation(value = "7.保全增员申请回调", httpMethod = "POST", notes = "投保申请回调")
@ApiOperationSupport(order = 2) @ApiOperationSupport(order = 2)
private Map callBack(HttpServletRequest request, @RequestParam String pid, @RequestParam String sign, @RequestParam String timestamp) throws IOException { private Map callBack(HttpServletRequest request, @RequestParam String pid, @RequestParam String sign, @RequestParam String timestamp) throws IOException {
Map map = Maps.newHashMap(); Map map = Maps.newHashMap();
......
...@@ -59,7 +59,7 @@ public class InsureApplicantController { ...@@ -59,7 +59,7 @@ public class InsureApplicantController {
@GetMapping("/getApplicant") @GetMapping("/getApplicant")
@ApiOperation(value = "获取投保人", httpMethod = "Get", notes = "获取投保人") @ApiOperation(value = "获取投保人", httpMethod = "GET", notes = "获取投保人")
private Result<Object> getApplicant() { private Result<Object> getApplicant() {
InsureApplicant insureApplicant = InsureApplicant.builder().id(1).build().selectById(); InsureApplicant insureApplicant = InsureApplicant.builder().id(1).build().selectById();
if(insureApplicant==null){ if(insureApplicant==null){
......
...@@ -55,7 +55,7 @@ public class InsureLogController { ...@@ -55,7 +55,7 @@ public class InsureLogController {
private InsureLogMapper insureLogMapper; private InsureLogMapper insureLogMapper;
@GetMapping(value = "/logList") @GetMapping(value = "/logList")
@ApiOperation(value = "12.日志列表", httpMethod = "Get", notes = "日志列表") @ApiOperation(value = "12.日志列表", httpMethod = "GET", notes = "日志列表")
public Result<Object> logList(@RequestParam("policyId") String policyId) { public Result<Object> logList(@RequestParam("policyId") String policyId) {
List<InsureLog> list = insureLogMapper.selectListById(policyId); List<InsureLog> list = insureLogMapper.selectListById(policyId);
if (list.size() > 0) { if (list.size() > 0) {
...@@ -65,7 +65,7 @@ public class InsureLogController { ...@@ -65,7 +65,7 @@ public class InsureLogController {
} }
@GetMapping(value = "/downUserExcel") @GetMapping(value = "/downUserExcel")
@ApiOperation(value = "12.人员清单", httpMethod = "Get", notes = "人员清单") @ApiOperation(value = "12.人员清单", httpMethod = "GET", notes = "人员清单")
public void downUserExcel(@RequestParam("logId") String logId, HttpServletRequest request, HttpServletResponse response) { public void downUserExcel(@RequestParam("logId") String logId, HttpServletRequest request, HttpServletResponse response) {
InsureLog insureLog = InsureLog.builder().id(Integer.parseInt(logId)).build().selectById(); InsureLog insureLog = InsureLog.builder().id(Integer.parseInt(logId)).build().selectById();
if (insureLog == null || StringUtils.isNullOrEmpty(insureLog.getFileUrl())) { if (insureLog == null || StringUtils.isNullOrEmpty(insureLog.getFileUrl())) {
...@@ -109,7 +109,7 @@ public class InsureLogController { ...@@ -109,7 +109,7 @@ public class InsureLogController {
} }
@PostMapping(value = "/insureLogList") @PostMapping(value = "/insureLogList")
@ApiOperation(value = "日志列表--8小时端", httpMethod = "Get", notes = "日志列表") @ApiOperation(value = "日志列表--8小时端", httpMethod = "GET", notes = "日志列表")
public Result<Object> insureLogList(@CurrentUser UserBean userBean, @RequestBody Page page) { public Result<Object> insureLogList(@CurrentUser UserBean userBean, @RequestBody Page page) {
Map map = Maps.newHashMap(); Map map = Maps.newHashMap();
List<PolicyLogDto> list = insureLogMapper.selectLogListByOrgCode(userBean.getOrgCode(),page); List<PolicyLogDto> list = insureLogMapper.selectLogListByOrgCode(userBean.getOrgCode(),page);
......
...@@ -34,7 +34,7 @@ public class InsureProductController{ ...@@ -34,7 +34,7 @@ public class InsureProductController{
private InsureProductMapper insureProductMapper; private InsureProductMapper insureProductMapper;
@GetMapping(value = "/productList") @GetMapping(value = "/productList")
@ApiOperation(value = "12.产品列表", httpMethod = "Get", notes = "产品列表") @ApiOperation(value = "12.产品列表", httpMethod = "GET", notes = "产品列表")
public Result<Object> productList() { public Result<Object> productList() {
List<InsureProduct> productList = InsureProduct.builder().build().selectList(new QueryWrapper<InsureProduct>().lambda().eq(InsureProduct::getIsDel,0)); List<InsureProduct> productList = InsureProduct.builder().build().selectList(new QueryWrapper<InsureProduct>().lambda().eq(InsureProduct::getIsDel,0));
if (productList.size()>0) { if (productList.size()>0) {
......
...@@ -43,7 +43,7 @@ public class InsureUserController{ ...@@ -43,7 +43,7 @@ public class InsureUserController{
private InsureUserMapper insureUserMapper; private InsureUserMapper insureUserMapper;
@PostMapping(value = "/policyList") @PostMapping(value = "/policyList")
@ApiOperation(value = "3.保单列表--运营后台", httpMethod = "Post", notes = "保单列表") @ApiOperation(value = "3.保单列表--运营后台", httpMethod = "POST", notes = "保单列表")
public Result<Object> policyList(@RequestBody PolicyDto policyDto) { public Result<Object> policyList(@RequestBody PolicyDto policyDto) {
Map map = Maps.newHashMap(); Map map = Maps.newHashMap();
List<PolicyDto> list = insureUserMapper.selectPolicyList(policyDto); List<PolicyDto> list = insureUserMapper.selectPolicyList(policyDto);
...@@ -52,14 +52,14 @@ public class InsureUserController{ ...@@ -52,14 +52,14 @@ public class InsureUserController{
return ResultUtil.data(map); return ResultUtil.data(map);
} }
@GetMapping(value = "/userDetial") @GetMapping(value = "/userDetial")
@ApiOperation(value = "被保人详情", httpMethod = "Post", notes = "保单列表") @ApiOperation(value = "被保人详情", httpMethod = "POST", notes = "保单列表")
public Result<Object> userDetial(@RequestParam("userId") String userId) { public Result<Object> userDetial(@RequestParam("userId") String userId) {
InsureUser user = InsureUser.builder().id(Integer.parseInt(userId)).build().selectById(); InsureUser user = InsureUser.builder().id(Integer.parseInt(userId)).build().selectById();
return ResultUtil.data(user); return ResultUtil.data(user);
} }
@PostMapping(value = "/userPolicyList") @PostMapping(value = "/userPolicyList")
@ApiOperation(value = "3.保单列表--8小时端", httpMethod = "Post", notes = "保单列表") @ApiOperation(value = "3.保单列表--8小时端", httpMethod = "POST", notes = "保单列表")
public Result<Object> userPolicyList(@CurrentUser UserBean userBean, @RequestBody PolicyDto policyDto) { public Result<Object> userPolicyList(@CurrentUser UserBean userBean, @RequestBody PolicyDto policyDto) {
Map map = Maps.newHashMap(); Map map = Maps.newHashMap();
InsurePolicy insurePolicy = InsurePolicy.builder().build().selectOne(new QueryWrapper<InsurePolicy>().lambda().eq(InsurePolicy::getOrgCode,userBean.getOrgCode()).eq(InsurePolicy::getStatus,1)); InsurePolicy insurePolicy = InsurePolicy.builder().build().selectOne(new QueryWrapper<InsurePolicy>().lambda().eq(InsurePolicy::getOrgCode,userBean.getOrgCode()).eq(InsurePolicy::getStatus,1));
...@@ -73,7 +73,7 @@ public class InsureUserController{ ...@@ -73,7 +73,7 @@ public class InsureUserController{
return ResultUtil.data(map); return ResultUtil.data(map);
} }
@PostMapping(value = "/getPolicyUserList") @PostMapping(value = "/getPolicyUserList")
@ApiOperation(value = "获取选中用户方案信息", httpMethod = "Post", notes = "获取选中用户方案信息") @ApiOperation(value = "获取选中用户方案信息", httpMethod = "POST", notes = "获取选中用户方案信息")
public Result<Object> getPolicyUserList(@RequestBody InsureDto dto){ public Result<Object> getPolicyUserList(@RequestBody InsureDto dto){
List<InsureUserDto> userList= insureUserMapper.selectPlansListByIds(dto.getOldIds()); List<InsureUserDto> userList= insureUserMapper.selectPlansListByIds(dto.getOldIds());
if(userList.size()<=0){ if(userList.size()<=0){
...@@ -82,7 +82,7 @@ public class InsureUserController{ ...@@ -82,7 +82,7 @@ public class InsureUserController{
return ResultUtil.data(userList); return ResultUtil.data(userList);
} }
@GetMapping(value = "/getPolicyPlansList") @GetMapping(value = "/getPolicyPlansList")
@ApiOperation(value = "获取方案列表", httpMethod = "Get", notes = "获取选中用户方案信息") @ApiOperation(value = "获取方案列表", httpMethod = "GET", notes = "获取选中用户方案信息")
public Result<Object> getPolicyUserList(@RequestParam("policyId") String policyId){ public Result<Object> getPolicyUserList(@RequestParam("policyId") String policyId){
List<InsureUserDto> userList= insureUserMapper.selectPlansListById(policyId); List<InsureUserDto> userList= insureUserMapper.selectPlansListById(policyId);
if(userList.size()<=0){ if(userList.size()<=0){
......
...@@ -34,7 +34,7 @@ public class SuperLoginController { ...@@ -34,7 +34,7 @@ public class SuperLoginController {
@Autowired @Autowired
private HttpSession session; private HttpSession session;
@PostMapping(value = "/adminLogin") @PostMapping(value = "/adminLogin")
@ApiOperation(value = "运营后台登录", httpMethod = "Post", notes = "接口发布说明") @ApiOperation(value = "运营后台登录", httpMethod = "POST", notes = "接口发布说明")
public Result<Object> adminLogin(@RequestBody EntRegisterDto entRegisterDto, HttpServletRequest request){ public Result<Object> adminLogin(@RequestBody EntRegisterDto entRegisterDto, HttpServletRequest request){
String ip = UserIp.getIpAddr(request); String ip = UserIp.getIpAddr(request);
AdminAccount adminAccount = AdminAccount.builder().build().selectOne(new QueryWrapper<AdminAccount>().lambda() AdminAccount adminAccount = AdminAccount.builder().build().selectOne(new QueryWrapper<AdminAccount>().lambda()
...@@ -50,7 +50,7 @@ public class SuperLoginController { ...@@ -50,7 +50,7 @@ public class SuperLoginController {
return ResultUtil.data(adminAccount); return ResultUtil.data(adminAccount);
}; };
@PostMapping(value = "/adminOutLogin") @PostMapping(value = "/adminOutLogin")
@ApiOperation(value = "运营后台退出", httpMethod = "Post", notes = "接口发布说明") @ApiOperation(value = "运营后台退出", httpMethod = "POST", notes = "接口发布说明")
public Result<String> adminOutLogin(HttpServletRequest request){ public Result<String> adminOutLogin(HttpServletRequest request){
session= request.getSession(); session= request.getSession();
session.removeAttribute("ai"); session.removeAttribute("ai");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment