Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c57c5c62
Commit
c57c5c62
authored
Jul 26, 2024
by
李松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自测bug
parent
968361b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+1
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+18
-16
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
View file @
c57c5c62
...
...
@@ -453,7 +453,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
TaskMessageDto
taskMessageDto
=
new
TaskMessageDto
();
BeanUtils
.
copyProperties
(
scrapCancel
,
taskMessageDto
);
taskModelDto
.
setModel
(
taskMessageDto
);
// taskModelDto.setTaskContent(this.buildTaskContent(scrapCancel.getEquList
(), scrapCancel.getCancelType(), scrapCancel.getApplyNo()));
taskModelDto
.
setTaskContent
(
this
.
buildTaskContent
(
scrapCancel
.
getEquListCode
(),
scrapCancel
.
getCancelType
(),
scrapCancel
.
getApplyNo
()));
taskModelDto
.
setTaskCode
(
scrapCancel
.
getApplyNo
());
taskModelDto
.
setTaskType
(
businessTypeJudgment
(
scrapCancel
.
getCancelType
()).
getCode
());
taskModelDto
.
setNextExecuteUser
(
scrapCancel
.
getNextExecuteIds
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
c57c5c62
...
...
@@ -587,7 +587,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
// 数据参数
dto
.
setModel
(
taskMessageDto
);
// 摘要
dto
.
setTaskContent
(
"来自"
+
equType
+
"【"
+
(
ObjectUtils
.
isEmpty
(
jgUseRegistration
.
getSupervisoryCode
())
?
"无"
:
jgUseRegistration
.
getSupervisoryCode
())
+
"】的业务办理,"
+
"【申请单号:"
+
jgUseRegistration
.
getApplyNo
()
+
"】"
);
// dto.setTaskContent("来自" + equType + "【" + (ObjectUtils.isEmpty(jgUseRegistration.getSupervisoryCode()) ? "无" : jgUseRegistration.getSupervisoryCode()) + "】的业务办理," + "【申请单号:" + jgUseRegistration.getApplyNo() + "】");
dto
.
setTaskContent
(
"来自"
+
equType
+
"的业务办理,"
+
"【申请单号:"
+
jgUseRegistration
.
getApplyNo
()
+
"】"
);
// 申请单号
dto
.
setTaskCode
(
jgUseRegistration
.
getApplyNo
());
// 业务类型
...
...
@@ -794,7 +795,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
String
equType
=
this
.
baseMapper
.
getEquType
(
String
.
valueOf
(
map
.
get
(
"EQU_LIST_CODE"
)));
TaskModelDto
dto
=
TaskModelDto
.
builder
()
.
model
(
BeanUtil
.
copyProperties
(
useRegistration
,
TaskMessageDto
.
class
))
.
taskContent
(
"来自"
+
equType
+
"
【"
+
(
ObjectUtils
.
isEmpty
(
useRegistration
.
getSupervisoryCode
())
?
"无"
:
useRegistration
.
getSupervisoryCode
())
+
"】等
的业务办理,"
.
taskContent
(
"来自"
+
equType
+
"的业务办理,"
+
"【申请单号:"
+
useRegistration
.
getApplyNo
()
+
"】"
)
.
taskCode
(
useRegistration
.
getApplyNo
())
.
taskType
(
String
.
valueOf
(
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
getCode
()))
...
...
@@ -1396,7 +1397,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if
(!
jgUseRegistrationEqList
.
isEmpty
())
{
String
equId
=
jgUseRegistrationEqList
.
get
(
0
).
getEquId
();
taskMessageDto
.
setEquipId
(
equId
);
dto
.
setTaskContent
(
"来自"
+
this
.
getBaseMapper
().
getEquType
(
equId
)
+
"【"
+
(
ObjectUtils
.
isEmpty
(
jgUseRegistration
.
getSupervisoryCode
())
?
"无"
:
jgUseRegistration
.
getSupervisoryCode
())
+
"】的业务办理,"
+
"【申请单号:"
+
jgUseRegistration
.
getApplyNo
()
+
"】"
);
// dto.setTaskContent("来自" + this.getBaseMapper().getEquType(equId) + "【" + (ObjectUtils.isEmpty(jgUseRegistration.getSupervisoryCode()) ? "无" : jgUseRegistration.getSupervisoryCode()) + "】的业务办理," + "【申请单号:" + jgUseRegistration.getApplyNo() + "】");
dto
.
setTaskContent
(
"来自"
+
this
.
getBaseMapper
().
getEquType
(
equId
)
+
"的业务办理,"
+
"【申请单号:"
+
jgUseRegistration
.
getApplyNo
()
+
"】"
);
}
dto
.
setModel
(
taskMessageDto
);
dto
.
setNextExecuteUser
(
workflowResultDto
.
getNextExecutorRoleIds
());
...
...
@@ -2697,15 +2699,15 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
IdxBizJgDesignInfo
designInfo
=
idxBizJgDesignInfoService
.
getOne
(
lambdaDes
);
designInfo
.
setDesignUnitCreditCode
(
String
.
valueOf
(
map
.
get
(
"designUnitCreditCode"
)));
designInfo
.
setDesignUnitName
(
String
.
valueOf
(
map
.
get
(
"designUnitName"
)));
designInfo
.
setDesignLicenseNum
(
String
.
valueOf
(
map
.
get
(
"designLicenseNum"
)));
designInfo
.
setDesignLicenseNum
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"designLicenseNum"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"designLicenseNum"
)));
designInfo
.
setDesignUseDate
(
String
.
valueOf
(
map
.
get
(
"designUseDate"
)));
designInfo
.
setDesignDate
(
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"designDate"
)),
"yyyy-MM-dd"
));
designInfo
.
setDrawingDo
(
String
.
valueOf
(
map
.
get
(
"drawingDo"
)));
designInfo
.
setAppraisalUnit
(
String
.
valueOf
(
map
.
get
(
"appraisalUnit"
)));
designInfo
.
setAppraisalDate
(
String
.
valueOf
(
map
.
get
(
"appraisalDate"
)));
designInfo
.
setDrawingDo
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"drawingDo"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"drawingDo"
)));
designInfo
.
setAppraisalUnit
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"appraisalUnit"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"appraisalUnit"
)));
designInfo
.
setAppraisalDate
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"appraisalDate"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"appraisalDate"
)));
designInfo
.
setDesignDoc
(
JSONObject
.
toJSONString
(
map
.
get
(
"designDoc"
)));
designInfo
.
setDesignStandard
(
JSONObject
.
toJSONString
(
map
.
get
(
"designStandard"
)));
designInfo
.
setOtherAccessoriesDes
(
JSONObject
.
toJSONString
(
map
.
get
(
"otherAccessoriesDes"
)));
designInfo
.
setDesignStandard
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"designStandard"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"designStandard"
)));
designInfo
.
setOtherAccessoriesDes
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"otherAccessoriesDes"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"otherAccessoriesDes"
)));
idxBizJgDesignInfoMapper
.
updateById
(
designInfo
);
...
...
@@ -2718,14 +2720,14 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
idxBizJgFactoryInfo
.
setFactoryNum
(
String
.
valueOf
(
map
.
get
(
"factoryNum"
)));
idxBizJgFactoryInfo
.
setProduceLicenseNum
(
String
.
valueOf
(
map
.
get
(
"produceLicenseNum"
)));
idxBizJgFactoryInfo
.
setProduceDate
(
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"produceDate"
)),
"yyyy-MM-dd"
));
idxBizJgFactoryInfo
.
setImported
(
String
.
valueOf
(
map
.
get
(
"imported"
)));
idxBizJgFactoryInfo
.
setProduceCountry
(
String
.
valueOf
(
map
.
get
(
"produceCountry"
)));
idxBizJgFactoryInfo
.
setOtherAccessoriesFact
(
JSONObject
.
toJSONString
(
map
.
get
(
"otherAccessoriesFact"
)));
idxBizJgFactoryInfo
.
setImported
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"imported"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"imported"
)));
idxBizJgFactoryInfo
.
setProduceCountry
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"produceCountry"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"produceCountry"
)));
idxBizJgFactoryInfo
.
setOtherAccessoriesFact
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"otherAccessoriesFact"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"otherAccessoriesFact"
)));
idxBizJgFactoryInfo
.
setProductQualityYieldProve
(
JSONObject
.
toJSONString
(
map
.
get
(
"productQualityYieldProve"
)));
idxBizJgFactoryInfo
.
setInsUseMaintainExplain
(
JSONObject
.
toJSONString
(
map
.
get
(
"insUseMaintainExplain"
)));
idxBizJgFactoryInfo
.
setFactoryStandard
(
JSONObject
.
toJSONString
(
map
.
get
(
"factoryStandard"
)));
idxBizJgFactoryInfo
.
setFactSupervisionInspectionReport
(
JSONObject
.
toJSONString
(
map
.
get
(
"factSupervisionInspectionReport"
)));
idxBizJgFactoryInfo
.
setBoilerEnergyEfficiencyCertificate
(
JSONObject
.
toJSONString
(
map
.
get
(
"boilerEnergyEfficiencyCertificate"
)));
idxBizJgFactoryInfo
.
setInsUseMaintainExplain
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"insUseMaintainExplain"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"insUseMaintainExplain"
)));
idxBizJgFactoryInfo
.
setFactoryStandard
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"factoryStandard"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"factoryStandard"
)));
idxBizJgFactoryInfo
.
setFactSupervisionInspectionReport
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"factSupervisionInspectionReport"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"factSupervisionInspectionReport"
)));
idxBizJgFactoryInfo
.
setBoilerEnergyEfficiencyCertificate
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"boilerEnergyEfficiencyCertificate"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"boilerEnergyEfficiencyCertificate"
)));
idxBizJgFactoryInfoMapper
.
updateById
(
idxBizJgFactoryInfo
);
// 使用信息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment