Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
66a9dc99
提交
66a9dc99
authored
11月 13, 2023
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop'
上级
766fee07
4f35e2ec
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
17 行删除
+24
-17
ContractServiceImpl.java
...m/mmc/iuav/user/service/fdd/impl/ContractServiceImpl.java
+14
-16
CooperationServiceImpl.java
...om/mmc/iuav/user/service/impl/CooperationServiceImpl.java
+9
-0
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/fdd/impl/ContractServiceImpl.java
浏览文件 @
66a9dc99
...
...
@@ -254,25 +254,23 @@ public class ContractServiceImpl implements ContractService {
updateSignStatus
.
setBRemark
(
resultDesc
);
updateSignStatus
.
setSingerTime
(
new
Date
());
if
(
orderNo
.
startsWith
(
FddConstant
.
FN
))
{
// 乙方生成后台对应的账号
UserApplyTagDO
userApplyTag
=
cooperationDao
.
getUserApplyTagByContractId
(
contractId
);
BUserAccountVO
bUserAccountVO
=
this
.
generateBackUserAccountVO
(
userApplyTag
);
log
.
info
(
"check apply cooperation tag, bUserAccountVO:{}"
,
com
.
alibaba
.
fastjson2
.
JSONObject
.
toJSONString
(
bUserAccountVO
));
ResultBody
resultBody
=
backUserAccountService
.
insertBAccount
(
bUserAccountVO
,
null
);
log
.
info
(
resultBody
.
toString
());
if
(!
resultBody
.
getCode
().
equals
(
ResultEnum
.
SUCCESS
.
getResultCode
()))
{
// 生成账号失败处理
log
.
info
(
"生成失败"
);
throw
new
BizException
(
ResultEnum
.
COOPERATION_CHECK_NOT_PASS_ERROR
);
}
SmsUtil
.
sendPassCooperationApply
(
bUserAccountVO
.
getPhoneNum
());
}
//
if(orderNo.startsWith(FddConstant.FN)) {
//
// 乙方生成后台对应的账号
//
UserApplyTagDO userApplyTag = cooperationDao.getUserApplyTagByContractId(contractId);
//
BUserAccountVO bUserAccountVO = this.generateBackUserAccountVO(userApplyTag);
//
log.info("check apply cooperation tag, bUserAccountVO:{}", com.alibaba.fastjson2.JSONObject.toJSONString(bUserAccountVO));
//
ResultBody resultBody = backUserAccountService.insertBAccount(bUserAccountVO, null);
//
log.info(resultBody.toString());
//
if (!resultBody.getCode().equals(ResultEnum.SUCCESS.getResultCode())) {
//
// 生成账号失败处理
//
log.info("生成失败");
//
throw new BizException(ResultEnum.COOPERATION_CHECK_NOT_PASS_ERROR);
//
}
//
SmsUtil.sendPassCooperationApply(bUserAccountVO.getPhoneNum());
//
}
// 同步订单状态
ContractInfoDTO
contractInfoDTO
=
contractInfoDO
.
buildContractInfoDTO
();
contractInfoDTO
.
setSignStatus
(
4
);
log
.
info
(
"到达mq"
);
log
.
info
(
"到达mq"
);
mqProducer
.
sentFinishOrderSign
(
contractInfoDTO
);
}
else
if
(
contractInfoDO
.
getSignStatus
()
==
2
&&
FddConstant
.
SIGN_FAIL
.
equals
(
resultCode
)
&&
contractInfoDO
.
getBTransactionId
().
equals
(
transactionId
))
{
// 乙方公司签章失败
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/impl/CooperationServiceImpl.java
浏览文件 @
66a9dc99
...
...
@@ -210,6 +210,15 @@ public class CooperationServiceImpl implements CooperationService {
userTagDO
.
setCooperationTagId
(
userApplyTag
.
getCooperationTagId
());
cooperationDao
.
insertUserTag
(
userTagDO
);
}
// 审批通过生成后台对应的账号
BUserAccountVO
bUserAccountVO
=
this
.
generateBackUserAccountVO
(
userApplyTag
);
log
.
info
(
"check apply cooperation tag, bUserAccountVO:{}"
,
JSONObject
.
toJSONString
(
bUserAccountVO
));
ResultBody
resultBody
=
backUserAccountService
.
insertBAccount
(
bUserAccountVO
,
null
);
if
(!
resultBody
.
getCode
().
equals
(
ResultEnum
.
SUCCESS
.
getResultCode
()))
{
// 生成账号失败处理
throw
new
BizException
(
ResultEnum
.
COOPERATION_CHECK_NOT_PASS_ERROR
);
}
SmsUtil
.
sendPassCooperationApply
(
bUserAccountVO
.
getPhoneNum
());
}
else
{
SmsUtil
.
sendNotPassCooperationApply
(
account
.
getPhoneNum
());
cooperationDao
.
updateApplyTagStatus
(
id
,
2
);
...
...
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
66a9dc99
...
...
@@ -18,4 +18,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag
:
8e5d222f6c6a90b1782f79aa5664f0a2307c7410
newTag
:
ff5a5c0c19280fd1e4cf559711f86eec00304dd3
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论