委托方增加bug,oms线路修复,o-t报关修改

This commit is contained in:
赵辉
2026-06-16 21:34:08 +08:00
parent 280e465856
commit 2491fdbdd1
8 changed files with 18 additions and 5 deletions
@@ -316,7 +316,7 @@ public class UserShipperApplicationService {
if (ObjectUtil.isNull(configSwitch)) {
throw new ServiceException("获取组织配置失败");
}
List<UserEntity> userEntities = userMapper.selectByUserPhone(userShipperDO.getUserPhone());
List<UserEntity> userEntities = userMapper.selectByUserPhone(userShipperDO.getUserAccount());
if (userEntities.size()>0){
throw new ServiceException("账户名已存在");
}
@@ -80,5 +80,5 @@ public interface UserMapper extends BaseMapper<UserEntity> {
Integer getOrdIsQueue(Long organizationId);
List<UserEntity> selectByUserPhone(String userPhone);
List<UserEntity> selectByUserPhone(String userAccount);
}
@@ -800,7 +800,7 @@
SELECT is_queue from NGWL_TEST_PRODUCT.SYS_ORGANIZATION where ORGANIZATION_ID = #{organizationId}
</select>
<select id="selectByUserPhone" resultType="com.mhd.user.domain.userAggregate.entity.UserEntity">
select * from "USER" where user_phone = #{userPhone} and del_flag = 1
select * from "USER" where user_account = #{userAccount} and del_flag = 1
</select>
</mapper>