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
a1161683
Commit
a1161683
authored
Nov 26, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.使用登记单据变更功能,联调自测修改
parent
33c54647
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
51 additions
and
19 deletions
+51
-19
EquipRegisterChangeDataDto.java
...os/boot/module/jg/api/dto/EquipRegisterChangeDataDto.java
+5
-0
TechParamsPipelineChangeFieldDto.java
...t/module/jg/api/dto/TechParamsPipelineChangeFieldDto.java
+2
-1
IBizDataChangeHandleStrategy.java
...t/module/jg/api/service/IBizDataChangeHandleStrategy.java
+1
-2
PressureVesselListener.java
...mos/boot/module/jg/biz/config/PressureVesselListener.java
+1
-1
BatchDataChangeProcessStrategy.java
...e/jg/biz/service/impl/BatchDataChangeProcessStrategy.java
+32
-9
BizDataChangeServiceImpl.java
.../module/jg/biz/service/impl/BizDataChangeServiceImpl.java
+3
-2
CommonEquipDataProcessService.java
...le/jg/biz/service/impl/CommonEquipDataProcessService.java
+0
-0
EquipChangeDataUpdateService.java
...ule/jg/biz/service/impl/EquipChangeDataUpdateService.java
+0
-0
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+2
-2
SingleDataChangeProcessStrategy.java
.../jg/biz/service/impl/SingleDataChangeProcessStrategy.java
+0
-0
UseRegisterDataChangeHandleImpl.java
.../jg/biz/service/impl/UseRegisterDataChangeHandleImpl.java
+1
-1
IdxBizJgRegisterInfoMapper.java
...oot/module/ymt/api/mapper/IdxBizJgRegisterInfoMapper.java
+1
-1
IdxBizJgRegisterInfoMapper.xml
.../src/main/resources/mapper/IdxBizJgRegisterInfoMapper.xml
+3
-0
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/dto/EquipRegisterChangeDataDto.java
View file @
a1161683
...
@@ -19,6 +19,11 @@ public class EquipRegisterChangeDataDto extends BaseChangeDataDto {
...
@@ -19,6 +19,11 @@ public class EquipRegisterChangeDataDto extends BaseChangeDataDto {
@FieldDisplayDefine
(
value
=
"设备代码"
)
@FieldDisplayDefine
(
value
=
"设备代码"
)
private
String
equCode
;
private
String
equCode
;
/**
* 1-手工输入、2-系统自动生成
*/
@FieldDisplayDefine
(
value
=
"设备代码类型"
,
isExist
=
false
)
private
String
equCodeType
;
@FieldDisplayDefine
(
value
=
"设备品种"
)
@FieldDisplayDefine
(
value
=
"设备品种"
)
private
String
equDefine
;
private
String
equDefine
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/TechParamsPipelineChangeFieldDto.java
View file @
a1161683
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
dto
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
dto
;
import
com.alibaba.fastjson.JSON
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
com.yeejoin.amos.boot.biz.common.annotation.Group
;
import
com.yeejoin.amos.boot.biz.common.annotation.Group
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -41,7 +42,7 @@ public class TechParamsPipelineChangeFieldDto extends BaseTechParamsFieldDto {
...
@@ -41,7 +42,7 @@ public class TechParamsPipelineChangeFieldDto extends BaseTechParamsFieldDto {
private
String
pipeLength
;
private
String
pipeLength
;
@FieldDisplayDefine
(
value
=
"起/始位置"
)
@FieldDisplayDefine
(
value
=
"起/始位置"
,
type
=
JSON
.
class
)
private
String
startePosition
;
private
String
startePosition
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/service/IBizDataChangeHandleStrategy.java
View file @
a1161683
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
service
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
service
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
public
interface
IBizDataChangeHandleStrategy
{
public
interface
IBizDataChangeHandleStrategy
{
...
@@ -20,7 +19,7 @@ public interface IBizDataChangeHandleStrategy {
...
@@ -20,7 +19,7 @@ public interface IBizDataChangeHandleStrategy {
* @param bizId 设备record
* @param bizId 设备record
* @return 变更信息详情
* @return 变更信息详情
*/
*/
Map
<
String
,
?>
get
Change
Detail
(
String
applyNo
,
ModelType
model
,
String
bizId
);
Map
<
String
,
?>
getDetail
(
String
applyNo
,
ModelType
model
,
String
bizId
);
/**
/**
* 保存
* 保存
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/config/PressureVesselListener.java
View file @
a1161683
...
@@ -159,7 +159,7 @@ public class PressureVesselListener extends AnalysisEventListener<EquipInfoCylin
...
@@ -159,7 +159,7 @@ public class PressureVesselListener extends AnalysisEventListener<EquipInfoCylin
private
void
checkEquCodeUniqueness
(
String
equCode
)
{
private
void
checkEquCodeUniqueness
(
String
equCode
)
{
// 根据设备代码检查唯一性
// 根据设备代码检查唯一性
Integer
count
=
idxBizJgRegisterInfoMapper
.
selectByEquCodeAndClaimStatus
(
equCode
,
""
);
Integer
count
=
idxBizJgRegisterInfoMapper
.
selectByEquCodeAndClaimStatus
(
equCode
,
""
,
null
);
if
(
count
>
0
)
{
if
(
count
>
0
)
{
result
.
append
(
"设备代码系统中已存在"
);
result
.
append
(
"设备代码系统中已存在"
);
}
}
...
...
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/BatchDataChangeProcessStrategy.java
View file @
a1161683
...
@@ -5,9 +5,7 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -5,9 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.module.jg.api.dto.ChangeDataDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.*
;
import
com.yeejoin.amos.boot.module.jg.api.dto.MultiChangeItemData
;
import
com.yeejoin.amos.boot.module.jg.api.dto.RequestChangeData
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgRegistrationHistory
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgRegistrationHistory
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistration
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistration
;
import
com.yeejoin.amos.boot.module.jg.api.enums.CylinderTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.CylinderTypeEnum
;
...
@@ -38,13 +36,13 @@ public class BatchDataChangeProcessStrategy implements IChangeDataProcessStrateg
...
@@ -38,13 +36,13 @@ public class BatchDataChangeProcessStrategy implements IChangeDataProcessStrateg
private
final
JgUseRegistrationMapper
jgUseRegistrationMapper
;
private
final
JgUseRegistrationMapper
jgUseRegistrationMapper
;
private
final
SingleDataChangeProcessStrategy
singleDataChangeProcessStrategy
;
private
final
CommonEquipDataProcessService
commonEquipDataProcessService
;
public
BatchDataChangeProcessStrategy
(
JgUseRegistrationServiceImpl
useRegistrationService
,
JgRegistrationHistoryServiceImpl
jgRegistrationHistoryService
,
JgUseRegistrationMapper
jgUseRegistrationMapper
,
SingleDataChangeProcessStrategy
singleDataChangeProcessStrategy
)
{
public
BatchDataChangeProcessStrategy
(
JgUseRegistrationServiceImpl
useRegistrationService
,
JgRegistrationHistoryServiceImpl
jgRegistrationHistoryService
,
JgUseRegistrationMapper
jgUseRegistrationMapper
,
CommonEquipDataProcessService
commonEquipDataProcessService
)
{
this
.
useRegistrationService
=
useRegistrationService
;
this
.
useRegistrationService
=
useRegistrationService
;
this
.
jgRegistrationHistoryService
=
jgRegistrationHistoryService
;
this
.
jgRegistrationHistoryService
=
jgRegistrationHistoryService
;
this
.
jgUseRegistrationMapper
=
jgUseRegistrationMapper
;
this
.
jgUseRegistrationMapper
=
jgUseRegistrationMapper
;
this
.
singleDataChangeProcessStrategy
=
singleDataChangeProcessStrategy
;
this
.
commonEquipDataProcessService
=
commonEquipDataProcessService
;
}
}
@Override
@Override
...
@@ -53,17 +51,42 @@ public class BatchDataChangeProcessStrategy implements IChangeDataProcessStrateg
...
@@ -53,17 +51,42 @@ public class BatchDataChangeProcessStrategy implements IChangeDataProcessStrateg
JSONArray
equips
=
data
.
getJSONArray
(
RequestChangeData
.
multiDataKey
);
JSONArray
equips
=
data
.
getJSONArray
(
RequestChangeData
.
multiDataKey
);
List
<
MultiChangeItemData
>
items
=
equips
.
toJavaList
(
MultiChangeItemData
.
class
);
List
<
MultiChangeItemData
>
items
=
equips
.
toJavaList
(
MultiChangeItemData
.
class
);
List
<
ChangeDataDto
>
allChangeColumns
=
new
ArrayList
<>();
List
<
ChangeDataDto
>
allChangeColumns
=
new
ArrayList
<>();
// 校验
items
.
forEach
(
item
->
{
items
.
forEach
(
item
->
{
String
record
=
item
.
getRecord
();
String
record
=
item
.
getRecord
();
Map
<
String
,
Object
>
itemData
=
item
.
getDetail
();
Map
<
String
,
Object
>
itemData
=
item
.
getDetail
();
if
(
itemData
!=
null
){
if
(
itemData
!=
null
)
{
List
<
ChangeDataDto
>
oneEquipChangeColumns
=
singleDataChangeProcessStrategy
.
handleOne
(
itemData
,
record
);
EquipRegisterChangeDataDto
registerChangeDataDto
=
commonEquipDataProcessService
.
castMap2Bean
(
itemData
,
EquipRegisterChangeDataDto
.
class
);
allChangeColumns
.
addAll
(
oneEquipChangeColumns
);
EquipFactoryChangeDataDto
factoryChangeDataDto
=
commonEquipDataProcessService
.
castMap2Bean
(
itemData
,
EquipFactoryChangeDataDto
.
class
);
EquipDesignChangeDataDto
designChangeDataDto
=
commonEquipDataProcessService
.
castMap2Bean
(
itemData
,
EquipDesignChangeDataDto
.
class
);
// 前置检验
commonEquipDataProcessService
.
checkValidField
(
record
,
registerChangeDataDto
,
null
,
null
,
null
);
commonEquipDataProcessService
.
checkValidField
(
record
,
factoryChangeDataDto
,
registerChangeDataDto
.
getEquList
(),
registerChangeDataDto
.
getEquCategory
(),
registerChangeDataDto
.
getEquDefine
());
commonEquipDataProcessService
.
checkValidField
(
record
,
designChangeDataDto
,
registerChangeDataDto
.
getEquList
(),
registerChangeDataDto
.
getEquCategory
(),
registerChangeDataDto
.
getEquDefine
());
}
}
});
});
// 入库
items
.
forEach
(
item
->
{
String
record
=
item
.
getRecord
();
Map
<
String
,
Object
>
itemData
=
item
.
getDetail
();
if
(
itemData
!=
null
)
{
EquipRegisterChangeDataDto
registerChangeDataDto
=
commonEquipDataProcessService
.
castMap2Bean
(
itemData
,
EquipRegisterChangeDataDto
.
class
);
EquipFactoryChangeDataDto
factoryChangeDataDto
=
commonEquipDataProcessService
.
castMap2Bean
(
itemData
,
EquipFactoryChangeDataDto
.
class
);
EquipDesignChangeDataDto
designChangeDataDto
=
commonEquipDataProcessService
.
castMap2Bean
(
itemData
,
EquipDesignChangeDataDto
.
class
);
commonEquipDataProcessService
.
buildChangeFields
(
record
,
designChangeDataDto
,
factoryChangeDataDto
,
registerChangeDataDto
,
allChangeColumns
);
// 设备制造、设计、注册信息业务处理落库
commonEquipDataProcessService
.
dealBizDataForEquip
(
record
,
registerChangeDataDto
);
commonEquipDataProcessService
.
dealBizDataForEquip
(
record
,
factoryChangeDataDto
);
commonEquipDataProcessService
.
dealBizDataForEquip
(
record
,
designChangeDataDto
);
// 设备技术参数入库处理
commonEquipDataProcessService
.
updateTechParamInfo
(
registerChangeDataDto
,
record
,
itemData
,
allChangeColumns
);
}
});
// 单位办理不能修改设备品种,如果修改无法保证单据下的所有设备都一致
return
allChangeColumns
;
return
allChangeColumns
;
}
}
@Override
@Override
public
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
getDetail
(
String
applyNo
,
String
bizId
)
{
public
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
getDetail
(
String
applyNo
,
String
bizId
)
{
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
result
=
new
HashMap
<>();
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
result
=
new
HashMap
<>();
...
...
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/BizDataChangeServiceImpl.java
View file @
a1161683
...
@@ -4,8 +4,8 @@ import com.yeejoin.amos.boot.module.jg.api.dto.RequestChangeData;
...
@@ -4,8 +4,8 @@ import com.yeejoin.amos.boot.module.jg.api.dto.RequestChangeData;
import
com.yeejoin.amos.boot.module.jg.biz.context.BizDataHandleStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.BizDataHandleStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.api.service.IBizDataChangeHandleStrategy
;
import
com.yeejoin.amos.boot.module.jg.api.service.IBizDataChangeHandleStrategy
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
@Service
@Service
...
@@ -18,6 +18,7 @@ public class BizDataChangeServiceImpl {
...
@@ -18,6 +18,7 @@ public class BizDataChangeServiceImpl {
* @param bizType 业务类型
* @param bizType 业务类型
* @param changeData 变化后的数据
* @param changeData 变化后的数据
*/
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
save
(
String
applyNo
,
public
void
save
(
String
applyNo
,
String
bizType
,
String
bizType
,
RequestChangeData
changeData
)
{
RequestChangeData
changeData
)
{
...
@@ -28,6 +29,6 @@ public class BizDataChangeServiceImpl {
...
@@ -28,6 +29,6 @@ public class BizDataChangeServiceImpl {
public
Map
<
String
,
?>
queryDetail
(
String
applyNo
,
String
bizType
,
IBizDataChangeHandleStrategy
.
ModelType
model
,
String
bizId
)
{
public
Map
<
String
,
?>
queryDetail
(
String
applyNo
,
String
bizType
,
IBizDataChangeHandleStrategy
.
ModelType
model
,
String
bizId
)
{
IBizDataChangeHandleStrategy
handleStrategy
=
BizDataHandleStrategyContext
.
getStrategy
(
bizType
);
IBizDataChangeHandleStrategy
handleStrategy
=
BizDataHandleStrategyContext
.
getStrategy
(
bizType
);
return
handleStrategy
.
get
Change
Detail
(
applyNo
,
model
,
bizId
);
return
handleStrategy
.
getDetail
(
applyNo
,
model
,
bizId
);
}
}
}
}
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/CommonEquipDataProcessService.java
0 → 100644
View file @
a1161683
This diff is collapsed.
Click to expand it.
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/EquipChangeDataUpdateService.java
View file @
a1161683
This diff is collapsed.
Click to expand it.
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 @
a1161683
...
@@ -439,7 +439,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -439,7 +439,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
// 根据设备代码检查唯一性
// 根据设备代码检查唯一性
String
equCode
=
(
String
)
equipmentInfoForm
.
get
(
EQU_CODE
);
String
equCode
=
(
String
)
equipmentInfoForm
.
get
(
EQU_CODE
);
String
sequenceNbr
=
(
String
)
equipmentInfoForm
.
get
(
SEQUENCE_NBR
);
String
sequenceNbr
=
(
String
)
equipmentInfoForm
.
get
(
SEQUENCE_NBR
);
List
<
Integer
>
results
=
Stream
.
of
(
idxBizJgRegisterInfoMapper
.
selectByEquCodeAndClaimStatus
(
equCode
,
sequenceNbr
),
List
<
Integer
>
results
=
Stream
.
of
(
idxBizJgRegisterInfoMapper
.
selectByEquCodeAndClaimStatus
(
equCode
,
sequenceNbr
,
null
),
idxBizJgRegisterInfoMapper
.
selectInstallNoticeEqByEquCode
(
equCode
,
sequenceNbr
)
idxBizJgRegisterInfoMapper
.
selectInstallNoticeEqByEquCode
(
equCode
,
sequenceNbr
)
).
collect
(
Collectors
.
toList
());
).
collect
(
Collectors
.
toList
());
...
@@ -3464,7 +3464,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -3464,7 +3464,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
private
void
checkEquCodeUniqueness
(
String
equCode
,
StringBuilder
result
)
{
private
void
checkEquCodeUniqueness
(
String
equCode
,
StringBuilder
result
)
{
// 根据设备代码检查唯一性
// 根据设备代码检查唯一性
Integer
count
=
idxBizJgRegisterInfoMapper
.
selectByEquCodeAndClaimStatus
(
equCode
,
""
);
Integer
count
=
idxBizJgRegisterInfoMapper
.
selectByEquCodeAndClaimStatus
(
equCode
,
""
,
null
);
if
(
count
>
0
)
{
if
(
count
>
0
)
{
result
.
append
(
"设备代码系统中已存在;"
);
result
.
append
(
"设备代码系统中已存在;"
);
}
}
...
...
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/SingleDataChangeProcessStrategy.java
View file @
a1161683
This diff is collapsed.
Click to expand it.
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/UseRegisterDataChangeHandleImpl.java
View file @
a1161683
...
@@ -68,7 +68,7 @@ public class UseRegisterDataChangeHandleImpl implements IBizDataChangeHandleStra
...
@@ -68,7 +68,7 @@ public class UseRegisterDataChangeHandleImpl implements IBizDataChangeHandleStra
@Override
@Override
public
Map
<
String
,
?>
get
Change
Detail
(
String
applyNo
,
ModelType
model
,
String
bizId
)
{
public
Map
<
String
,
?>
getDetail
(
String
applyNo
,
ModelType
model
,
String
bizId
)
{
IChangeDataProcessStrategy
dataProcessor
=
DataProcessStrategyContext
.
getStrategy
(
model
);
IChangeDataProcessStrategy
dataProcessor
=
DataProcessStrategyContext
.
getStrategy
(
model
);
// 兼容:台套类打开变更详情(使用applyNo) 和 单位办理批量时选择单个设备打开详情(使用record)
// 兼容:台套类打开变更详情(使用applyNo) 和 单位办理批量时选择单个设备打开详情(使用record)
return
dataProcessor
.
getDetail
(
applyNo
,
bizId
);
return
dataProcessor
.
getDetail
(
applyNo
,
bizId
);
...
...
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 @
a1161683
...
@@ -57,7 +57,7 @@ public interface IdxBizJgRegisterInfoMapper extends BaseMapper<IdxBizJgRegisterI
...
@@ -57,7 +57,7 @@ public interface IdxBizJgRegisterInfoMapper extends BaseMapper<IdxBizJgRegisterI
*/
*/
Boolean
updateCylinderCategoryByEquCodeBatch
(
@Param
(
"cylinderCategory"
)
String
cylinderCategory
,
@Param
(
"equCodeList"
)
List
<
String
>
equCodeList
);
Boolean
updateCylinderCategoryByEquCodeBatch
(
@Param
(
"cylinderCategory"
)
String
cylinderCategory
,
@Param
(
"equCodeList"
)
List
<
String
>
equCodeList
);
Integer
selectByEquCodeAndClaimStatus
(
@Param
(
"equCode"
)
String
equCode
,
@Param
(
"sequenceNbr"
)
String
sequenceNbr
);
Integer
selectByEquCodeAndClaimStatus
(
@Param
(
"equCode"
)
String
equCode
,
@Param
(
"sequenceNbr"
)
String
sequenceNbr
,
@Param
(
"record"
)
String
record
);
Integer
selectInstallNoticeEqByEquCode
(
@Param
(
"equCode"
)
String
equCode
,
@Param
(
"sequenceNbr"
)
String
sequenceNbr
);
Integer
selectInstallNoticeEqByEquCode
(
@Param
(
"equCode"
)
String
equCode
,
@Param
(
"sequenceNbr"
)
String
sequenceNbr
);
}
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/IdxBizJgRegisterInfoMapper.xml
View file @
a1161683
...
@@ -26,6 +26,9 @@
...
@@ -26,6 +26,9 @@
<if
test=
"sequenceNbr != null and sequenceNbr != ''"
>
<if
test=
"sequenceNbr != null and sequenceNbr != ''"
>
AND jri.sequence_nbr != #{sequenceNbr}
AND jri.sequence_nbr != #{sequenceNbr}
</if>
</if>
<if
test=
"record != null and record != ''"
>
AND jri.record != #{record}
</if>
AND joi.claim_status = '已认领'
AND joi.claim_status = '已认领'
</select>
</select>
...
...
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