出库流程操作库存;出库单导入调整;

This commit is contained in:
王奎兴
2026-01-27 17:23:06 +08:00
parent 797f2db7c1
commit 76fff6437d
22 changed files with 372 additions and 124 deletions
@@ -27,6 +27,8 @@ public interface UserRepositoryInterface extends IService<UserEntity> {
UserPo findAdminUserByOrganizationId(UserDO userDO);
UserPo findByUserId(Long userId);
UserPo selectByUserName(String userName);
UserPo findByTopOrganizationIdAndUserAccount(UserDO userDO);
UserPo getUserByDingUserId(String dingUserId);
@@ -73,5 +75,4 @@ public interface UserRepositoryInterface extends IService<UserEntity> {
String finShipperEnterpriseNamedByUserId(Long userId);
}
}
@@ -60,4 +60,4 @@ public interface UserShipperRepositoryInterface extends IService<UserShipperEnti
SettlementInfoQueryVo getSettlementInfoByUserId(Long userId);
public com.mhd.common.core.domain.po.UserShipperPo getShipperSummaryData(Long userId);
}
}
@@ -24,6 +24,8 @@ public interface UserMapper extends BaseMapper<UserEntity> {
UserPo selectByUserId(Long userId);
UserPo selectByUserName(String userName);
UserPo selectUserShipperList(UserPo userPo);
List<UserPo> selectUserShipperListWaybill(UserPo userPo);
@@ -72,4 +74,4 @@ public interface UserMapper extends BaseMapper<UserEntity> {
String finShipperEnterpriseNamedByUserId(@Param("userId") Long userId);
}
}
@@ -28,4 +28,4 @@ public interface UserShipperMapper extends BaseMapper<UserShipperEntity> {
List<UserShipperEntity> selectBySealId(@Param("userShipperEntity") UserShipperEntity userShipperEntity);
public com.mhd.common.core.domain.po.UserShipperPo getShipperSummaryData(Long userId);
}
}
@@ -64,6 +64,11 @@ public class UserRepositoryImpl extends ServiceImpl<UserMapper,UserEntity> imple
return userMapper.selectByUserId(userId);
}
@Override
public UserPo selectByUserName(String userName) {
return userMapper.selectByUserName(userName);
}
@Override
public UserEntity selectById(Long userId) {
return userMapper.selectById(userId);
@@ -168,4 +173,4 @@ public class UserRepositoryImpl extends ServiceImpl<UserMapper,UserEntity> imple
public String finShipperEnterpriseNamedByUserId(Long userId) {
return userMapper.finShipperEnterpriseNamedByUserId(userId);
}
}
}
@@ -166,4 +166,4 @@ public class UserShipperRepositoryImpl extends ServiceImpl<UserShipperMapper, Us
public com.mhd.common.core.domain.po.UserShipperPo getShipperSummaryData(Long userId) {
return shipperMapper.getShipperSummaryData(userId);
}
}
}
@@ -125,6 +125,10 @@ public class UserDomainService {
return userRepositoryInterface.findByUserId(userId);
}
public UserPo selectByUserName(String userName) {
return userRepositoryInterface.selectByUserName(userName);
}
public void updateWhenLogin(UserDO userDO) {
userRepositoryInterface.update(new UpdateWrapper<UserEntity>().lambda()
.set(UserEntity::getLastLoginIp,userDO.getLastLoginIp()).set(UserEntity::getLastLoginTime,userDO.getLastLoginTime())
@@ -259,4 +263,4 @@ public class UserDomainService {
.set(UserEntity::getHasDefaultAddress, dto.getHasDefaultAddress())
.eq(UserEntity::getUserId, dto.getUserId()));
}
}
}
@@ -236,4 +236,4 @@ public class UserShipperDomainService {
public com.mhd.common.core.domain.po.UserShipperPo getShipperSummaryData(Long userId) {
return userShipperRepositoryInterface.getShipperSummaryData(userId);
}
}
}