bms结算对象同步;
This commit is contained in:
@@ -165,6 +165,10 @@ public interface UserServiceFeign {
|
|||||||
@GetMapping("/userShipperApi/userShipperListAll")
|
@GetMapping("/userShipperApi/userShipperListAll")
|
||||||
public AjaxResult<?> userShipperListAll();
|
public AjaxResult<?> userShipperListAll();
|
||||||
|
|
||||||
|
@ApiOperation("查询租户下全部托运人")
|
||||||
|
@GetMapping("/userShipperApi/userShipperListAllByOrg")
|
||||||
|
public AjaxResult<?> userShipperListAllByOrg(@RequestParam("orgCode") Long orgCode);
|
||||||
|
|
||||||
@ApiOperation("查询租户下全部承运人")
|
@ApiOperation("查询租户下全部承运人")
|
||||||
@GetMapping("/userDriverApi/userDriverListAll")
|
@GetMapping("/userDriverApi/userDriverListAll")
|
||||||
public AjaxResult<?> userDriverListAll();
|
public AjaxResult<?> userDriverListAll();
|
||||||
|
|||||||
+6
@@ -1306,6 +1306,12 @@ public class UserShipperApplicationService {
|
|||||||
return userShipperDomainService.userShipperList(userShipperDO);
|
return userShipperDomainService.userShipperList(userShipperDO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<UserShipperPo> userShipperListAllByOrg(Long orgCode) {
|
||||||
|
UserShipperDO userShipperDO = new UserShipperDO();
|
||||||
|
userShipperDO.setOrganizationId(orgCode);
|
||||||
|
return userShipperDomainService.userShipperList(userShipperDO);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* E签宝回调接口-认证授权完成
|
* E签宝回调接口-认证授权完成
|
||||||
* @param jsonObject 回调参数
|
* @param jsonObject 回调参数
|
||||||
|
|||||||
@@ -212,6 +212,15 @@ public class UserShipperAPI extends BaseController {
|
|||||||
return AjaxResult.success("操作成功",list);
|
return AjaxResult.success("操作成功",list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Log(title = "托运人管理-查询租户下所有托运人", description ="查询租户下所有托运人",businessType = BusinessType.INQUIRE)
|
||||||
|
@ApiOperation("查询租户下所有托运人")
|
||||||
|
@GetMapping("/userShipperListAllByOrg")
|
||||||
|
public AjaxResult userShipperListAllByOrg(@RequestParam("orgCode") Long orgCode) {
|
||||||
|
//转换实体
|
||||||
|
List<UserShipperPo> list = userShipperApplicationService.userShipperListAllByOrg(orgCode);
|
||||||
|
return AjaxResult.success("操作成功",list);
|
||||||
|
}
|
||||||
|
|
||||||
@Log(title = "托运人管理-修改授权额度 结算天数 使用额度", description ="修改授权额度 结算天数 使用额度",businessType = BusinessType.INQUIRE)
|
@Log(title = "托运人管理-修改授权额度 结算天数 使用额度", description ="修改授权额度 结算天数 使用额度",businessType = BusinessType.INQUIRE)
|
||||||
@ApiOperation("修改授权额度和结算天数")
|
@ApiOperation("修改授权额度和结算天数")
|
||||||
@PutMapping("/settlementInfo")
|
@PutMapping("/settlementInfo")
|
||||||
|
|||||||
+1
-1
@@ -274,7 +274,7 @@ public class SettlementCustomersApplicationService {
|
|||||||
SyncDictCache dictCache,
|
SyncDictCache dictCache,
|
||||||
List<SettlementCustomers> toInsert,
|
List<SettlementCustomers> toInsert,
|
||||||
List<SettlementCustomers> toUpdate) {
|
List<SettlementCustomers> toUpdate) {
|
||||||
AjaxResult ajaxResult = userServiceFeign.userShipperListAll();
|
AjaxResult ajaxResult = userServiceFeign.userShipperListAllByOrg(loginUser.getUserPo().getOrganizationId());
|
||||||
List<UserShipperPo> userShipperPoList = parseFeignList(ajaxResult, UserShipperPo.class);
|
List<UserShipperPo> userShipperPoList = parseFeignList(ajaxResult, UserShipperPo.class);
|
||||||
if (userShipperPoList.isEmpty()) {
|
if (userShipperPoList.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user