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
6d907cc4
Commit
6d907cc4
authored
Feb 29, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl' of
http://36.40.66.175:5000//moa/amos-boot-biz
into develop_dl
parents
9b705b5a
08e2b66e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
51 additions
and
6 deletions
+51
-6
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
SupervisionVideoServiceImpl.java
...equipmanage/service/impl/SupervisionVideoServiceImpl.java
+8
-1
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 @
6d907cc4
...
...
@@ -189,7 +189,6 @@
AND g.peopleType = #{map.peopleType}
</if>
<if
test=
"map.fireManagementPost != null"
>
-- AND locate(#{map.fireManagementPost}, g.fireManagementPost)
AND g.fireManagementPost IN
<foreach
item=
"item"
index=
"index"
collection=
"map.fireManagementPost"
open=
"("
separator=
","
close=
")"
>
#{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 @
6d907cc4
...
...
@@ -98,6 +98,20 @@ public class PlanTask extends BasicEntity {
@Column
(
name
=
"user_name"
)
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
()
{
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 @
6d907cc4
...
...
@@ -24,7 +24,7 @@ public interface IEquipmentDetailService extends IService<EquipmentDetail> {
Page
<
EquipmentDetail
>
page
(
Page
<
EquipmentDetail
>
pageBean
,
EquipmentDetail
equipmentDetail
);
EquipmentDetail
getOneById
(
l
ong
id
);
EquipmentDetail
getOneById
(
L
ong
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 @
6d907cc4
...
...
@@ -144,8 +144,11 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
}
@Override
public
EquipmentDetail
getOneById
(
long
id
)
{
EquipmentDetail
equipmentDetail
=
equipmentDetailMapper
.
selectById
(
id
);
public
EquipmentDetail
getOneById
(
Long
id
)
{
QueryWrapper
<
EquipmentDetail
>
queryWrapper
=
new
QueryWrapper
();
queryWrapper
.
eq
(
"id"
,
id
);
EquipmentDetail
equipmentDetail
=
equipmentDetailMapper
.
selectOne
(
queryWrapper
);
System
.
out
.
println
(
"======打印ID"
+
id
);
if
(
equipmentDetail
==
null
)
{
return
null
;
}
...
...
@@ -356,6 +359,7 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
EquipmentSpecific
specific
=
equipmentSpecificService
.
getEquipSpecificEntityByCode
(
equipmentSpecific
.
getCode
());
equipmentSpecific
.
setEquipCondition
(
specific
.
getEquipCondition
());
equipmentSpecific
.
setFullqrCode
(
"01#"
+
equipmentSpecific
.
getQrCode
());
System
.
out
.
println
(
"==============ID"
+
equipmentSpecific
.
getEquipmentDetailId
());
EquipmentDetail
equipmentDetail
=
this
.
getOneById
(
equipmentSpecific
.
getEquipmentDetailId
());
StockDetail
stockDetail
=
null
;
if
(
stockDetailId
!=
null
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/SupervisionVideoServiceImpl.java
View file @
6d907cc4
...
...
@@ -232,7 +232,14 @@ public class SupervisionVideoServiceImpl extends ServiceImpl<SupervisionVideoMap
}
else
if
(
t2
.
get
(
"update_time"
)
instanceof
Boolean
)
{
return
-
1
;
}
else
{
return
Long
.
valueOf
(
t1
.
get
(
"update_time"
).
toString
()).
compareTo
(
Long
.
valueOf
(
t2
.
get
(
"update_time"
).
toString
()));
try
{
Long
s1
=
DateUtils
.
dateParse
(
DateUtils
.
DATE_TIME_PATTERN
,
t1
.
get
(
"update_time"
).
toString
()).
getTime
();
Long
s2
=
DateUtils
.
dateParse
(
DateUtils
.
DATE_TIME_PATTERN
,
t2
.
get
(
"update_time"
).
toString
()).
getTime
();
return
s1
.
compareTo
(
s2
);
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
return
-
1
;
}
}
});
pressurePumpInfo
.
setRecords
(
records
);
...
...
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 @
6d907cc4
...
...
@@ -813,6 +813,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
planTask
.
setBeginTime
(
startTime
);
planTask
.
setEndTime
(
endTime
);
planTask
.
setPlanName
(
plan
.
getName
());
// 1.保存执行数据主表
iplanTaskDao
.
saveAndFlush
(
planTask
);
// 发送APP待办消息 (20220617 改为定时任务发送消息)
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
6d907cc4
...
...
@@ -6013,6 +6013,7 @@
cb_water_resource
<where>
(resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
...
...
@@ -6025,6 +6026,7 @@
<where>
water_status = '2'
AND (resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
...
...
@@ -6037,6 +6039,7 @@
<where>
water_status = '1'
AND (resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
...
...
@@ -6089,6 +6092,7 @@
cb_water_resource
<where>
(resource_type = 'industryPool' or resource_type = 'pool')
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
...
...
@@ -6096,11 +6100,12 @@
) AS total,
(select
count(sequence_nbr)
count(sequence_nbr)
fire-resource-superv
from
cb_water_resource
<where>
resource_type = 'pool'
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
...
...
@@ -6112,6 +6117,7 @@
cb_water_resource
<where>
resource_type = 'industryPool'
and is_delete = 1
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
...
...
amos-boot-system-patrol/src/main/resources/db/changelog/patrol-3.6.0.xml
View file @
6d907cc4
...
...
@@ -95,4 +95,17 @@
ADD INDEX `idx_is_ok` (`is_ok`) USING BTREE;
</sql>
</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>
\ 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