|
@@ -139,7 +139,7 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation(value="查询所有空闲的运力信息")
|
|
|
+ @ApiOperation(value="查询所有运力信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
@ApiImplicitParam(name = "apiId(248)", value = "动态表头", required = false, dataType = "Integer"),
|
|
@@ -158,16 +158,15 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
if(index != null){
|
|
|
- mapValue.put("index","%" + index + "%");
|
|
|
+ mapValue.put("index", index);
|
|
|
}
|
|
|
if (carrierSsoId != null && carrierSsoId.equals("undefined")) {
|
|
|
carrierSsoId = null;
|
|
|
}
|
|
|
- BigDecimal carrierId = null;
|
|
|
if (carrierSsoId != null) {
|
|
|
- carrierId = universalMapper.getCarrierIdBySSO(carrierSsoId);
|
|
|
+ BigDecimal carrierId = universalMapper.getCarrierIdBySSO(carrierSsoId);
|
|
|
+ mapValue.put("carrierId",carrierId);
|
|
|
}
|
|
|
- mapValue.put("carrierId",carrierId);
|
|
|
//不分页筛选数据
|
|
|
List<Map<String, Object>> allCapacity = universalMapper.getAllCapacityByCarrierLike(mapValue);
|
|
|
PageHelper.startPage(pageNum,pageSize);
|
|
@@ -407,7 +406,7 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "返回sha1加密字符串")
|
|
|
- @PostMapping("/sha1DigestUtils")
|
|
|
+ @RequestMapping(value = "/sha1DigestUtils", method = {RequestMethod.GET,RequestMethod.POST})
|
|
|
public String sha1DigestUtils(String text){
|
|
|
return universalService.sha1DigestUtils(text);
|
|
|
}
|