委托方增加bug,oms线路修复,o-t报关修改
This commit is contained in:
+1
-1
@@ -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("账户名已存在");
|
||||
}
|
||||
|
||||
+1
-1
@@ -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>
|
||||
Reference in New Issue
Block a user