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
08e2b66e
Commit
08e2b66e
authored
Feb 29, 2024
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备平台bug
parent
65e68b55
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43 additions
and
5 deletions
+43
-5
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+0
-1
PlanTask.java
...ain/java/com/yeejoin/amos/patrol/dao/entity/PlanTask.java
+14
-0
IEquipmentDetailService.java
.../yeejoin/equipmanage/service/IEquipmentDetailService.java
+1
-1
EquipmentDetailServiceImpl.java
.../equipmanage/service/impl/EquipmentDetailServiceImpl.java
+6
-2
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+1
-0
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+7
-1
patrol-3.6.0.xml
...m-patrol/src/main/resources/db/changelog/patrol-3.6.0.xml
+14
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
08e2b66e
...
@@ -189,7 +189,6 @@
...
@@ -189,7 +189,6 @@
AND g.peopleType = #{map.peopleType}
AND g.peopleType = #{map.peopleType}
</if>
</if>
<if
test=
"map.fireManagementPost != null"
>
<if
test=
"map.fireManagementPost != null"
>
-- AND locate(#{map.fireManagementPost}, g.fireManagementPost)
AND g.fireManagementPost IN
AND g.fireManagementPost IN
<foreach
item=
"item"
index=
"index"
collection=
"map.fireManagementPost"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"item"
index=
"index"
collection=
"map.fireManagementPost"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-patrol-api/src/main/java/com/yeejoin/amos/patrol/dao/entity/PlanTask.java
View file @
08e2b66e
...
@@ -98,6 +98,20 @@ public class PlanTask extends BasicEntity {
...
@@ -98,6 +98,20 @@ public class PlanTask extends BasicEntity {
@Column
(
name
=
"user_name"
)
@Column
(
name
=
"user_name"
)
private
String
userName
;
private
String
userName
;
/**
* 任务名称
*/
@Column
(
name
=
"plan_name"
)
private
String
planName
;
public
String
getPlanName
()
{
return
planName
;
}
public
void
setPlanName
(
String
planName
)
{
this
.
planName
=
planName
;
}
public
String
getUserName
()
{
public
String
getUserName
()
{
return
userName
;
return
userName
;
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/IEquipmentDetailService.java
View file @
08e2b66e
...
@@ -24,7 +24,7 @@ public interface IEquipmentDetailService extends IService<EquipmentDetail> {
...
@@ -24,7 +24,7 @@ public interface IEquipmentDetailService extends IService<EquipmentDetail> {
Page
<
EquipmentDetail
>
page
(
Page
<
EquipmentDetail
>
pageBean
,
EquipmentDetail
equipmentDetail
);
Page
<
EquipmentDetail
>
page
(
Page
<
EquipmentDetail
>
pageBean
,
EquipmentDetail
equipmentDetail
);
EquipmentDetail
getOneById
(
l
ong
id
);
EquipmentDetail
getOneById
(
L
ong
id
);
boolean
removeOneById
(
long
id
);
boolean
removeOneById
(
long
id
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentDetailServiceImpl.java
View file @
08e2b66e
...
@@ -144,8 +144,11 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
...
@@ -144,8 +144,11 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
}
}
@Override
@Override
public
EquipmentDetail
getOneById
(
long
id
)
{
public
EquipmentDetail
getOneById
(
Long
id
)
{
EquipmentDetail
equipmentDetail
=
equipmentDetailMapper
.
selectById
(
id
);
QueryWrapper
<
EquipmentDetail
>
queryWrapper
=
new
QueryWrapper
();
queryWrapper
.
eq
(
"id"
,
id
);
EquipmentDetail
equipmentDetail
=
equipmentDetailMapper
.
selectOne
(
queryWrapper
);
System
.
out
.
println
(
"======打印ID"
+
id
);
if
(
equipmentDetail
==
null
)
{
if
(
equipmentDetail
==
null
)
{
return
null
;
return
null
;
}
}
...
@@ -356,6 +359,7 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
...
@@ -356,6 +359,7 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
EquipmentSpecific
specific
=
equipmentSpecificService
.
getEquipSpecificEntityByCode
(
equipmentSpecific
.
getCode
());
EquipmentSpecific
specific
=
equipmentSpecificService
.
getEquipSpecificEntityByCode
(
equipmentSpecific
.
getCode
());
equipmentSpecific
.
setEquipCondition
(
specific
.
getEquipCondition
());
equipmentSpecific
.
setEquipCondition
(
specific
.
getEquipCondition
());
equipmentSpecific
.
setFullqrCode
(
"01#"
+
equipmentSpecific
.
getQrCode
());
equipmentSpecific
.
setFullqrCode
(
"01#"
+
equipmentSpecific
.
getQrCode
());
System
.
out
.
println
(
"==============ID"
+
equipmentSpecific
.
getEquipmentDetailId
());
EquipmentDetail
equipmentDetail
=
this
.
getOneById
(
equipmentSpecific
.
getEquipmentDetailId
());
EquipmentDetail
equipmentDetail
=
this
.
getOneById
(
equipmentSpecific
.
getEquipmentDetailId
());
StockDetail
stockDetail
=
null
;
StockDetail
stockDetail
=
null
;
if
(
stockDetailId
!=
null
)
{
if
(
stockDetailId
!=
null
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
08e2b66e
...
@@ -813,6 +813,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -813,6 +813,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
}
planTask
.
setBeginTime
(
startTime
);
planTask
.
setBeginTime
(
startTime
);
planTask
.
setEndTime
(
endTime
);
planTask
.
setEndTime
(
endTime
);
planTask
.
setPlanName
(
plan
.
getName
());
// 1.保存执行数据主表
// 1.保存执行数据主表
iplanTaskDao
.
saveAndFlush
(
planTask
);
iplanTaskDao
.
saveAndFlush
(
planTask
);
// 发送APP待办消息 (20220617 改为定时任务发送消息)
// 发送APP待办消息 (20220617 改为定时任务发送消息)
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
08e2b66e
...
@@ -6013,6 +6013,7 @@
...
@@ -6013,6 +6013,7 @@
cb_water_resource
cb_water_resource
<where>
<where>
(resource_type = 'industryPool' or resource_type = 'pool')
(resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
...
@@ -6025,6 +6026,7 @@
...
@@ -6025,6 +6026,7 @@
<where>
<where>
water_status = '2'
water_status = '2'
AND (resource_type = 'industryPool' or resource_type = 'pool')
AND (resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
...
@@ -6037,6 +6039,7 @@
...
@@ -6037,6 +6039,7 @@
<where>
<where>
water_status = '1'
water_status = '1'
AND (resource_type = 'industryPool' or resource_type = 'pool')
AND (resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
...
@@ -6089,6 +6092,7 @@
...
@@ -6089,6 +6092,7 @@
cb_water_resource
cb_water_resource
<where>
<where>
(resource_type = 'industryPool' or resource_type = 'pool')
(resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
...
@@ -6096,11 +6100,12 @@
...
@@ -6096,11 +6100,12 @@
) AS total,
) AS total,
(select
(select
count(sequence_nbr)
count(sequence_nbr)
fire-resource-superv
from
from
cb_water_resource
cb_water_resource
<where>
<where>
resource_type = 'pool'
resource_type = 'pool'
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
...
@@ -6112,6 +6117,7 @@
...
@@ -6112,6 +6117,7 @@
cb_water_resource
cb_water_resource
<where>
<where>
resource_type = 'industryPool'
resource_type = 'industryPool'
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
...
...
amos-boot-system-patrol/src/main/resources/db/changelog/patrol-3.6.0.xml
View file @
08e2b66e
...
@@ -95,4 +95,17 @@
...
@@ -95,4 +95,17 @@
ADD INDEX `idx_is_ok` (`is_ok`) USING BTREE;
ADD INDEX `idx_is_ok` (`is_ok`) USING BTREE;
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"litw"
id=
"202402261200-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"p_plan_task"
columnName=
"plan_name"
/>
</not>
</preConditions>
<comment>
p_plan_task表加字段
</comment>
<sql>
ALTER TABLE `p_plan_task`
ADD COLUMN `plan_name` varchar(255) NULL DEFAULT NULL COMMENT '任务名称(冗余)';
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
\ No newline at end of file
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