oms发单

This commit is contained in:
赵辉
2026-01-28 13:20:09 +08:00
parent bbbb0b835d
commit e26dc853d5
46 changed files with 5455 additions and 0 deletions
@@ -1161,4 +1161,20 @@ public class UserShipperApplicationService {
public com.mhd.common.core.domain.po.UserShipperPo getShipperSummaryData(Long userId) {
return userShipperDomainService.getShipperSummaryData(userId);
}
/**
* 根据用户ID查询货主信息
*
* @param userId 用户ID
* @return 货主信息
*/
public UserShipperPo getShipperByUserId(Long userId) {
// 参数校验
if (userId == null || userId <= 0) {
throw new IllegalArgumentException("用户ID不能为空");
}
// 根据userId查询货主信息
return userShipperDomainService.selectByUserId(userId);
}
}