Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-liyeyun-admin
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
cfld-backend
cfld-liyeyun-admin
Commits
43d8d7e4
Commit
43d8d7e4
authored
Nov 15, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
//立业云后台提交
parent
48d24f22
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
2 deletions
+28
-2
DevelopmentInfo.java
...rc/main/java/com/ruoyi/system/domain/DevelopmentInfo.java
+13
-0
DevelopmentStatusEnum.java
...in/java/com/ruoyi/system/enums/DevelopmentStatusEnum.java
+6
-1
ParkInfoStatusEnum.java
.../main/java/com/ruoyi/system/enums/ParkInfoStatusEnum.java
+6
-1
DevelopmentInfoServiceImpl.java
...ruoyi/system/service/impl/DevelopmentInfoServiceImpl.java
+1
-0
ParkInfoServiceImpl.java
...va/com/ruoyi/system/service/impl/ParkInfoServiceImpl.java
+1
-0
DevelopmentInfoMapper.xml
...esources/mapper/developmentInfo/DevelopmentInfoMapper.xml
+1
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/DevelopmentInfo.java
View file @
43d8d7e4
...
...
@@ -422,6 +422,10 @@ public class DevelopmentInfo extends BaseEntity
@Excel
(
name
=
"污水处理价格"
)
private
BigDecimal
sewageWaterPrice
;
/** 原因 */
@Excel
(
name
=
"原因"
)
private
String
reason
;
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
...
...
@@ -1332,6 +1336,14 @@ public class DevelopmentInfo extends BaseEntity
return
sewageWaterPrice
;
}
public
String
getReason
()
{
return
reason
;
}
public
void
setReason
(
String
reason
)
{
this
.
reason
=
reason
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
@@ -1438,6 +1450,7 @@ public class DevelopmentInfo extends BaseEntity
.
append
(
"submitTime"
,
getSubmitTime
())
.
append
(
"sewageWaterType"
,
getSewageWaterType
())
.
append
(
"sewageWaterPrice"
,
getSewageWaterPrice
())
.
append
(
"reason"
,
getReason
())
.
toString
();
}
}
ruoyi-system/src/main/java/com/ruoyi/system/enums/DevelopmentStatusEnum.java
View file @
43d8d7e4
...
...
@@ -7,7 +7,8 @@ public enum DevelopmentStatusEnum {
AUTHED
(
3
,
"已认证"
),
REJECT
(
4
,
"未通过"
),
WAITAUTH
(
5
,
"待认证"
),
USELESS
(
9
,
"作废"
);
USELESS
(
9
,
"作废"
),
USELESS_REASON
(
9
,
"该数据已经认证成功,系统自动审核拒绝"
);
private
Integer
code
;
private
String
description
;
...
...
@@ -19,4 +20,8 @@ public enum DevelopmentStatusEnum {
public
Integer
getCode
()
{
return
code
;
}
public
String
getDescription
()
{
return
description
;
}
}
ruoyi-system/src/main/java/com/ruoyi/system/enums/ParkInfoStatusEnum.java
View file @
43d8d7e4
...
...
@@ -7,7 +7,8 @@ public enum ParkInfoStatusEnum {
AUTHED
(
3
,
"已认证"
),
REJECT
(
4
,
"未通过"
),
WAITAUTH
(
5
,
"待认证"
),
USELESS
(
9
,
"作废"
);
USELESS
(
9
,
"作废"
),
USELESS_REASON
(
9
,
"该数据已经认证成功,系统自动审核拒绝"
);
private
Integer
code
;
private
String
description
;
...
...
@@ -19,4 +20,8 @@ public enum ParkInfoStatusEnum {
public
Integer
getCode
()
{
return
code
;
}
public
String
getDescription
()
{
return
description
;
}
}
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/DevelopmentInfoServiceImpl.java
View file @
43d8d7e4
...
...
@@ -96,6 +96,7 @@ public class DevelopmentInfoServiceImpl implements IDevelopmentInfoService {
developmentInfoMapper
.
updateDevelopmentInfo
(
info
);
}
else
{
info
.
setStatus
(
DevelopmentStatusEnum
.
USELESS
.
getCode
());
info
.
setReason
(
DevelopmentStatusEnum
.
USELESS_REASON
.
getDescription
());
developmentInfoMapper
.
updateDevelopmentInfo
(
info
);
}
}
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ParkInfoServiceImpl.java
View file @
43d8d7e4
...
...
@@ -109,6 +109,7 @@ public class ParkInfoServiceImpl implements IParkInfoService {
parkInfoMapper
.
updateParkInfo
(
info
);
}
else
{
info
.
setStatus
(
ParkInfoStatusEnum
.
USELESS
.
getCode
());
info
.
setReason
(
ParkInfoStatusEnum
.
USELESS_REASON
.
getDescription
());
parkInfoMapper
.
updateParkInfo
(
info
);
}
}
...
...
ruoyi-system/src/main/resources/mapper/developmentInfo/DevelopmentInfoMapper.xml
View file @
43d8d7e4
...
...
@@ -546,6 +546,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"submitTime != null"
>
submit_time = #{submitTime},
</if>
<if
test=
"sewageWaterType != null"
>
sewage_water_type = #{sewageWaterType},
</if>
<if
test=
"sewageWaterPrice != null"
>
sewage_water_price = #{sewageWaterPrice},
</if>
<if
test=
"reason != null"
>
reason = #{reason},
</if>
</trim>
where id = #{id}
</update>
...
...
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