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
af8d4eee
Commit
af8d4eee
authored
Dec 21, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
5771f33c
2d094de9
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
15 deletions
+38
-15
JgChangeRegistrationReformEqMapper.java
...ule/jg/api/mapper/JgChangeRegistrationReformEqMapper.java
+1
-1
JgRegistrationHistoryMapper.java
...oot/module/jg/api/mapper/JgRegistrationHistoryMapper.java
+1
-1
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+9
-6
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+25
-5
IdxBizJgRegisterInfoMapper.java
...oot/module/ymt/api/mapper/IdxBizJgRegisterInfoMapper.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationReformEqMapper.java
View file @
af8d4eee
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
* @date 2023-12-20
* @date 2023-12-20
*/
*/
public
interface
JgChangeRegistrationReformEqMapper
extends
BaseMapper
<
JgChangeRegistrationReformEq
>
{
public
interface
JgChangeRegistrationReformEqMapper
extends
BaseMapper
<
JgChangeRegistrationReformEq
>
{
@Update
(
"update
jg_change_registration_reform
set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id != #{currentDocumentId} "
)
@Update
(
"update
tzs_jg_change_registration_reform_eq
set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id != #{currentDocumentId} "
)
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgRegistrationHistoryMapper.java
View file @
af8d4eee
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Select;
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Select;
* @date 2023-12-20
* @date 2023-12-20
*/
*/
public
interface
JgRegistrationHistoryMapper
extends
BaseMapper
<
JgRegistrationHistory
>
{
public
interface
JgRegistrationHistoryMapper
extends
BaseMapper
<
JgRegistrationHistory
>
{
@Select
(
"select sequence_nbr from jg_registration_history where equ_id = #{equid} and current_document_id = #{documentId}"
)
@Select
(
"select sequence_nbr from
tzs_
jg_registration_history where equ_id = #{equid} and current_document_id = #{documentId}"
)
Long
getSequenceNbrByEquidAndDocumentId
(
@Param
(
"equid"
)
String
equid
,
@Param
(
"documentId"
)
String
documentId
);
Long
getSequenceNbrByEquidAndDocumentId
(
@Param
(
"equid"
)
String
equid
,
@Param
(
"documentId"
)
String
documentId
);
}
}
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
af8d4eee
...
@@ -426,7 +426,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -426,7 +426,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
String
param
=
map
.
getString
(
"SEQUENCE_NBR"
);
String
param
=
map
.
getString
(
"SEQUENCE_NBR"
);
String
[]
split
=
param
.
split
(
","
);
String
[]
split
=
param
.
split
(
","
);
for
(
String
seq
:
split
)
{
for
(
String
seq
:
split
)
{
seqBuilder
.
should
(
QueryBuilders
.
termQuery
(
"SEQUENCE_NBR"
,
seq
));
seqBuilder
.
should
(
QueryBuilders
.
termQuery
(
"SEQUENCE_NBR
.keyword
"
,
seq
));
}
}
seqBuilder
.
minimumShouldMatch
(
1
);
seqBuilder
.
minimumShouldMatch
(
1
);
boolMust
.
must
(
seqBuilder
);
boolMust
.
must
(
seqBuilder
);
...
...
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/JgChangeRegistrationReformServiceImpl.java
View file @
af8d4eee
...
@@ -148,7 +148,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -148,7 +148,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
JgChangeRegistrationReformEq
jgChangeRegistrationReformEq
=
new
JgChangeRegistrationReformEq
();
JgChangeRegistrationReformEq
jgChangeRegistrationReformEq
=
new
JgChangeRegistrationReformEq
();
jgChangeRegistrationReformEq
.
setEquId
(
map
.
get
(
"equipId"
).
toString
());
jgChangeRegistrationReformEq
.
setEquId
(
map
.
get
(
"equipId"
).
toString
());
// jgRelationEquip.setBusinessType(String.valueOf(BusinessTypeEnum.USAGE_REGISTRATION.getCode()));
// jgRelationEquip.setBusinessType(String.valueOf(BusinessTypeEnum.USAGE_REGISTRATION.getCode()));
List
<
String
>
applicationFormCode
=
iCreateCodeService
.
createApplicationFormCode
(
ApplicationFormTypeEnum
.
SYDJ
.
getCode
(),
1
);
List
<
String
>
applicationFormCode
=
iCreateCodeService
.
createApplicationFormCode
(
ApplicationFormTypeEnum
.
GZBG
.
getCode
(),
1
);
jgChangeRegistrationReform
.
setApplyNo
(
applicationFormCode
.
get
(
0
));
jgChangeRegistrationReform
.
setApplyNo
(
applicationFormCode
.
get
(
0
));
jgChangeRegistrationReform
.
setAuditStatus
(
"待提交"
);
jgChangeRegistrationReform
.
setAuditStatus
(
"待提交"
);
jgChangeRegistrationReform
.
setStatus
(
FlowStatusEnum
.
TO_BE_SUBMITTED
.
getName
());
jgChangeRegistrationReform
.
setStatus
(
FlowStatusEnum
.
TO_BE_SUBMITTED
.
getName
());
...
@@ -190,7 +190,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -190,7 +190,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
//启动流程
//启动流程
try
{
try
{
ActWorkflowStartDTO
dto
=
new
ActWorkflowStartDTO
();
ActWorkflowStartDTO
dto
=
new
ActWorkflowStartDTO
();
dto
.
setProcessDefinitionKey
(
"
useRegistration
"
);
dto
.
setProcessDefinitionKey
(
"
renovationRegistrationReview
"
);
dto
.
setBusinessKey
(
"submit"
);
dto
.
setBusinessKey
(
"submit"
);
AjaxResult
ajaxResult
=
Workflow
.
taskClient
.
startByVariable
(
dto
);
AjaxResult
ajaxResult
=
Workflow
.
taskClient
.
startByVariable
(
dto
);
instanceId
=
((
Map
)
ajaxResult
.
get
(
"data"
)).
get
(
"id"
).
toString
();
instanceId
=
((
Map
)
ajaxResult
.
get
(
"data"
)).
get
(
"id"
).
toString
();
...
@@ -325,7 +325,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -325,7 +325,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
Map
<
String
,
Object
>
detail
=
this
.
baseMapper
.
getDetail
(
id
);
Map
<
String
,
Object
>
detail
=
this
.
baseMapper
.
getDetail
(
id
);
Map
<
String
,
Object
>
inspectDetail
=
this
.
baseMapper
.
getInspectDetail
(
id
);
Map
<
String
,
Object
>
inspectDetail
=
this
.
baseMapper
.
getInspectDetail
(
id
);
Map
<
String
,
Object
>
useDetail
=
this
.
baseMapper
.
getUseDetail
(
id
);
Map
<
String
,
Object
>
useDetail
=
this
.
baseMapper
.
getUseDetail
(
id
);
if
(
detail
.
get
(
""
).
equals
(
"已完成"
)){
if
(
detail
.
get
(
"status"
).
equals
(
"已完成"
)){
}
else
{
}
}
detail
.
putAll
(
inspectDetail
);
detail
.
putAll
(
inspectDetail
);
...
@@ -358,8 +360,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -358,8 +360,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
* @param currentDocumentId
* @param currentDocumentId
*/
*/
public
void
updateTechparamsByEquIdAndCurrentDoucumentId
(
String
equipId
,
String
currentDocumentId
){
public
void
updateTechparamsByEquIdAndCurrentDoucumentId
(
String
equipId
,
String
currentDocumentId
){
ResponseModel
<
String
>
responseModel
=
tzsServiceFeignClient
.
useRegistrationCode
(
idxBizJgOtherInfoMapper
.
getSupervisoryCodeByEquipmentCode
(
equipId
));
String
useOrgCode
=
idxBizJgOtherInfoMapper
.
getSupervisoryCodeByEquipmentCode
(
equipId
).
split
(
"-"
)[
0
];
String
newUseRegistrationCertificateNumber
=
responseModel
.
getResult
().
split
(
"-"
)[
0
];
ResponseModel
<
String
>
responseModel
=
tzsServiceFeignClient
.
useRegistrationCode
(
useOrgCode
);
String
newUseRegistrationCertificateNumber
=
responseModel
.
getResult
();
IdxBizJgTechParamsElevator
idxBizJgTechParamsElevator
=
idxBizJgTechParamsElevatorMapper
.
selectOne
(
new
QueryWrapper
<
IdxBizJgTechParamsElevator
>().
eq
(
"RECORD"
,
equipId
));
IdxBizJgTechParamsElevator
idxBizJgTechParamsElevator
=
idxBizJgTechParamsElevatorMapper
.
selectOne
(
new
QueryWrapper
<
IdxBizJgTechParamsElevator
>().
eq
(
"RECORD"
,
equipId
));
JgRegistrationHistory
jgRegistrationHistory
=
jgRegistrationHistoryMapper
.
selectOne
(
new
QueryWrapper
<
JgRegistrationHistory
>()
JgRegistrationHistory
jgRegistrationHistory
=
jgRegistrationHistoryMapper
.
selectOne
(
new
QueryWrapper
<
JgRegistrationHistory
>()
.
eq
(
"equ_id"
,
equipId
)
.
eq
(
"equ_id"
,
equipId
)
...
@@ -373,7 +376,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -373,7 +376,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
String
newData
=
jgRegistrationHistory
.
getChangeData
();
String
newData
=
jgRegistrationHistory
.
getChangeData
();
//将历史数据更新到技术参数表中
//将历史数据更新到技术参数表中
IdxBizJgTechParamsElevator
idxBizJgTechParamsElevatorNew
=
JSONObject
.
parseObject
(
newData
,
IdxBizJgTechParamsElevator
.
class
);
IdxBizJgTechParamsElevator
idxBizJgTechParamsElevatorNew
=
JSONObject
.
parseObject
(
newData
,
IdxBizJgTechParamsElevator
.
class
);
BeanUtil
.
copyProperties
(
idxBizJgTechParamsElevatorNew
,
idxBizJgTechParamsElevator
,
"
SEQUENCE_NBR"
,
"RECORD
"
);
BeanUtil
.
copyProperties
(
idxBizJgTechParamsElevatorNew
,
idxBizJgTechParamsElevator
,
"
sequenceNbr"
,
"record
"
);
idxBizJgTechParamsElevatorMapper
.
updateById
(
idxBizJgTechParamsElevator
);
idxBizJgTechParamsElevatorMapper
.
updateById
(
idxBizJgTechParamsElevator
);
//将历史数据回填到历史记录表中
//将历史数据回填到历史记录表中
jgRegistrationHistory
.
setChangeData
(
historyData
);
jgRegistrationHistory
.
setChangeData
(
historyData
);
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
View file @
af8d4eee
...
@@ -26,10 +26,12 @@ import com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultServic
...
@@ -26,10 +26,12 @@ import com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultServic
import
com.yeejoin.amos.boot.module.jyjc.biz.utils.JsonUtils
;
import
com.yeejoin.amos.boot.module.jyjc.biz.utils.JsonUtils
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.CategoryOtherInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.CategoryOtherInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.InspectionDetectionInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.InspectionDetectionInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.CategoryOtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.CategoryOtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.InspectionDetectionInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.InspectionDetectionInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.core.io.Resource
;
import
org.springframework.core.io.Resource
;
...
@@ -54,6 +56,7 @@ import java.util.stream.Collectors;
...
@@ -54,6 +56,7 @@ import java.util.stream.Collectors;
public
class
JyjcInspectionResultServiceImpl
extends
BaseService
<
JyjcInspectionResultModel
,
JyjcInspectionResult
,
JyjcInspectionResultMapper
>
implements
IJyjcInspectionResultService
{
public
class
JyjcInspectionResultServiceImpl
extends
BaseService
<
JyjcInspectionResultModel
,
JyjcInspectionResult
,
JyjcInspectionResultMapper
>
implements
IJyjcInspectionResultService
{
private
static
final
String
JYJC_SUBMIT_FILE_PREFIX
=
"JYJC_"
;
private
static
final
String
JYJC_SUBMIT_FILE_PREFIX
=
"JYJC_"
;
private
static
final
String
JYJC_SUBMIT_FILE_JYBG
=
"JYBG"
;
private
static
final
String
JYJC_SUBMIT_KEY
=
"inspectResult"
;
private
static
final
String
JYJC_SUBMIT_KEY
=
"inspectResult"
;
private
static
final
String
JYJC_RESULT_STATUS
=
"2"
;
private
static
final
String
JYJC_RESULT_STATUS
=
"2"
;
...
@@ -88,6 +91,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -88,6 +91,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
@Autowired
@Autowired
private
Sequence
sequence
;
private
Sequence
sequence
;
@Autowired
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
/**
/**
* 检验检测单位分页查询
* 检验检测单位分页查询
*/
*/
...
@@ -137,6 +143,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -137,6 +143,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
LambdaQueryWrapper
<
JyjcInspectionResultAttachment
>
fileWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
JyjcInspectionResultAttachment
>
fileWrapper
=
new
LambdaQueryWrapper
<>();
fileWrapper
.
eq
(
JyjcInspectionResultAttachment:
:
getResultSeq
,
model
.
getSequenceNbr
());
fileWrapper
.
eq
(
JyjcInspectionResultAttachment:
:
getResultSeq
,
model
.
getSequenceNbr
());
List
<
JyjcInspectionResultAttachment
>
fileList
=
attachmentService
.
list
(
fileWrapper
);
List
<
JyjcInspectionResultAttachment
>
fileList
=
attachmentService
.
list
(
fileWrapper
);
JyjcInspectionResultAttachment
jybgFile
=
new
JyjcInspectionResultAttachment
();
map
.
forEach
((
k
,
v
)
->
{
map
.
forEach
((
k
,
v
)
->
{
if
(
k
.
contains
(
JYJC_SUBMIT_FILE_PREFIX
))
{
if
(
k
.
contains
(
JYJC_SUBMIT_FILE_PREFIX
))
{
...
@@ -153,6 +160,10 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -153,6 +160,10 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
}
}
}
}
attachmentList
.
add
(
attachment
);
attachmentList
.
add
(
attachment
);
if
(
k
.
contains
(
JYJC_SUBMIT_FILE_JYBG
))
{
jybgFile
.
setAttachmentUrl
(
JSON
.
toJSONString
(
map
.
get
(
k
)));
attachment
.
setAttachmentType
(
k
);
}
}
}
});
});
if
(!
CollectionUtils
.
isEmpty
(
attachmentList
))
{
if
(!
CollectionUtils
.
isEmpty
(
attachmentList
))
{
...
@@ -187,27 +198,36 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -187,27 +198,36 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
wrapper
.
lambda
().
eq
(
InspectionDetectionInfo:
:
getInspectReportNo
,
model
.
getResultNo
());
wrapper
.
lambda
().
eq
(
InspectionDetectionInfo:
:
getInspectReportNo
,
model
.
getResultNo
());
List
<
InspectionDetectionInfo
>
list
=
inspectionDetectionInfoMapper
.
selectList
(
wrapper
);
List
<
InspectionDetectionInfo
>
list
=
inspectionDetectionInfoMapper
.
selectList
(
wrapper
);
if
(
CollectionUtils
.
isEmpty
(
list
))
{
if
(
CollectionUtils
.
isEmpty
(
list
))
{
extracted
(
model
,
info
);
extracted
(
model
,
info
,
jybgFile
);
info
.
setSequenceNbr
(
sequence
.
nextId
()
+
""
);
info
.
setSequenceNbr
(
sequence
.
nextId
()
+
""
);
inspectionDetectionInfoMapper
.
insert
(
info
);
inspectionDetectionInfoMapper
.
insert
(
info
);
}
else
{
}
else
{
info
=
list
.
get
(
0
);
info
=
list
.
get
(
0
);
extracted
(
model
,
info
);
extracted
(
model
,
info
,
jybgFile
);
inspectionDetectionInfoMapper
.
updateById
(
info
);
inspectionDetectionInfoMapper
.
updateById
(
info
);
}
}
return
model
;
return
model
;
}
}
private
void
extracted
(
JyjcInspectionResultModel
model
,
InspectionDetectionInfo
info
)
{
private
void
extracted
(
JyjcInspectionResultModel
model
,
InspectionDetectionInfo
info
,
JyjcInspectionResultAttachment
jybgFile
)
{
// 回填检验机构名称
LambdaQueryWrapper
<
TzBaseEnterpriseInfo
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
TzBaseEnterpriseInfo:
:
getUseCode
,
model
.
getInspectionUnitCode
());
List
<
TzBaseEnterpriseInfo
>
tzBaseEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
selectList
(
wrapper
);
if
(!
CollectionUtils
.
isEmpty
(
tzBaseEnterpriseInfos
))
{
info
.
setInspectOrgName
(
tzBaseEnterpriseInfos
.
get
(
0
).
getUseUnit
());
}
info
.
setInspectType
(
model
.
getInspectionType
());
info
.
setInspectType
(
model
.
getInspectionType
());
info
.
setInspectOrgName
(
model
.
getInspectionUnitCode
());
info
.
setRecord
(
model
.
getEquipUnicode
());
info
.
setRecord
(
model
.
getEquipUnicode
());
info
.
setInspectDate
(
model
.
getInspectionDate
());
info
.
setInspectDate
(
model
.
getInspectionDate
());
info
.
setInspectStaff
(
model
.
getInspector
());
info
.
setInspectReport
(
jybgFile
.
getAttachmentUrl
());
info
.
setInspectConclusion
(
model
.
getInspectionConclusion
());
info
.
setInspectConclusion
(
model
.
getInspectionConclusion
());
info
.
setProblemRemark
(
model
.
getNonConformance
());
info
.
setProblemRemark
(
model
.
getNonConformance
());
info
.
setNextInspectDate
(
model
.
getNextInspectionDate
());
info
.
setNextInspectDate
(
model
.
getNextInspectionDate
());
info
.
setSequenceCode
(
model
.
getEquipUnicode
());
info
.
setSequenceCode
(
model
.
getEquipUnicode
());
info
.
setInspectOrgCode
(
model
.
get
UseUnitCred
itCode
());
info
.
setInspectOrgCode
(
model
.
get
InspectionUn
itCode
());
info
.
setInspectReportNo
(
model
.
getResultNo
());
info
.
setInspectReportNo
(
model
.
getResultNo
());
info
.
setRecDate
(
new
Date
());
info
.
setRecDate
(
new
Date
());
}
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/IdxBizJgRegisterInfoMapper.java
View file @
af8d4eee
...
@@ -16,6 +16,6 @@ public interface IdxBizJgRegisterInfoMapper extends BaseMapper<IdxBizJgRegisterI
...
@@ -16,6 +16,6 @@ public interface IdxBizJgRegisterInfoMapper extends BaseMapper<IdxBizJgRegisterI
@Select
(
"select use_org_code from idx_biz_jg_register_info where record = #{equipCode}"
)
@Select
(
"select use_org_code from idx_biz_jg_register_info where record = #{equipCode}"
)
String
getUseOrgCodeByEquip
(
@Param
(
"equipCode"
)
String
equipCode
);
String
getUseOrgCodeByEquip
(
@Param
(
"equipCode"
)
String
equipCode
);
@Select
(
"updateidx_biz_jg_register_info set use_org_code = #{useOrgCode} where record = #{equipCode}"
)
@Select
(
"update
idx_biz_jg_register_info set use_org_code = #{useOrgCode} where record = #{equipCode}"
)
Boolean
updateUseOrgCodeByEquip
(
@Param
(
"equipCode"
)
String
equipCode
,
@Param
(
"useOrgCode"
)
String
useOrgCode
);
Boolean
updateUseOrgCodeByEquip
(
@Param
(
"equipCode"
)
String
equipCode
,
@Param
(
"useOrgCode"
)
String
useOrgCode
);
}
}
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