|
@@ -11,6 +11,7 @@ import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -476,6 +477,23 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
return universalMapper.getAllGatepost();
|
|
|
}
|
|
|
|
|
|
+ //通过承运商id获取userId
|
|
|
+ @PostMapping("/getUserIdByCarrierId")
|
|
|
+ public String getUserIdByCarrierId(@RequestBody Map<String,Object> map){
|
|
|
+ //获取承运商id
|
|
|
+ Integer carrierId =(Integer) map.get("carrierId");
|
|
|
+ return universalMapper.getUserIdbyCarrierId(carrierId);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "已经在sso权限模块承运商下拉框")
|
|
|
+ @GetMapping("/getAllCarrierIdForSso")
|
|
|
+ public List<Map<String,Object>> getAllCarrierIdForSso(){
|
|
|
+ return universalMapper.getAllCarrierIdForSso();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@ApiModelProperty(value = "模糊查询收货单位")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|