Merge remote-tracking branch 'origin/master'
| | |
| | | //手机号格式错误 |
| | | String ACCOUNT_FORMAT_ERROR = "account.format.error"; |
| | | String ACCOUNT_IMPORT_ERROR = "account.import.error"; |
| | | String ACCOUNT_EXIST = "account.exist"; |
| | | |
| | | //========== 角色相关 ========== |
| | | String ROLE_NAME_EXISTS = "role.name.exists"; |
| | |
| | | if (!isPhone) { |
| | | throw new ServiceException("以下帐号格式不正确:", I18nKeyConstant.ACCOUNT_FORMAT_ERROR,new Object[]{exportOperationsUserVo.getPhoneNumber()}); |
| | | } |
| | | // 判断账号是否已存在 |
| | | long count = this.count(Wrappers.lambdaQuery(XpOperationsUser.class) |
| | | .eq(XpOperationsUser::getPhoneNumber, exportOperationsUserVo.getPhoneNumber())); |
| | | if (count > 0) { |
| | | throw new ServiceException("以下帐号已存在:", I18nKeyConstant.ACCOUNT_EXIST,new Object[]{exportOperationsUserVo.getPhoneNumber()}); |
| | | } |
| | | xpOperationsUser.setPhoneNumber(exportOperationsUserVo.getPhoneNumber()); |
| | | xpOperationsUser.setPassword(SecurityUtils.encryptPassword("a123456")); |
| | | xpOperationsUser.setRemarks(exportOperationsUserVo.getRemarks()); |
| | |
| | | sms.push.failed=短信发送失败,请稍后重试! |
| | | sys.group.delete.fail=删除失败,该权限组已关联角色 |
| | | account.format.error=以下帐号格式不正确:{0} |
| | | account.exist=以下帐号已存在:{0} |
| | | account.import.error=导入运维人员数据异常 |
| | |
| | | sms.push.failed=SMS sending failed. Please try again later! |
| | | sys.group.delete.fail=Deletion failed. This permission group has been associated with a role |
| | | account.format.error=The following account format is incorrect: {0} |
| | | account.exist=The following account already exists:{0} |
| | | account.import.error=Importing operation and maintenance personnel data anomaly |
| | |
| | | sms.push.failed=短信发送失败,请稍后重试! |
| | | sys.group.delete.fail=删除失败,该权限组已关联角色 |
| | | account.format.error=以下帐号格式不正确:{0} |
| | | account.exist=以下帐号已存在:{0} |
| | | account.import.error=导入运维人员数据异常 |
| | |
| | | </sql> |
| | | |
| | | <select id="operationRecords" resultType="com.xiaopeng.maintenance.model.vo.OperationRecordsVO"> |
| | | SELECT xvr.id, xvr.vehicle_id,xvr.send_user_id AS operationsUserId, xvr.start_time AS operationTime |
| | | SELECT xvr.id, xvr.vehicle_id,xvr.send_user_id AS operationsUserId, xvr.create_time AS operationTime |
| | | FROM xp_vehicle_repair xvr |
| | | WHERE xvr.is_deleted = 0 |
| | | AND xvr.vehicle_id = #{query.vehicleId} |
| | |
| | | } |
| | | } |
| | | queryPolicyInfoVO.setStatus(xpPolicyApplication.getAuditStatus()); |
| | | queryPolicyInfoVO.setXpPolicyApplicationVO(xpPolicyApplicationVO); |
| | | } else { |
| | | queryPolicyInfoVO.setStatus(0); |
| | | } |