Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gf_back
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianchao
gf_back
Commits
5ab93574
Commit
5ab93574
authored
Dec 10, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
3b6a3fbc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
185 deletions
+36
-185
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantMapeAdjEnt.java
...pps/core/base/entity/BasePhotovoltaicPlantMapeAdjEnt.java
+6
-83
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantMapeAdjView.java
...ps/core/base/entity/BasePhotovoltaicPlantMapeAdjView.java
+8
-83
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePhotovoltaicPlantMapeAdjService.java
...ore/base/service/BasePhotovoltaicPlantMapeAdjService.java
+22
-19
No files found.
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantMapeAdjEnt.java
View file @
5ab93574
...
...
@@ -4,16 +4,20 @@ import com.baomidou.mybatisplus.annotation.IdType;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@TableName
(
"BASE_PHOTOVOLTAIC_PLANT_MAPE_ADJ"
)
public
class
BasePhotovoltaicPlantMapeAdjEnt
implements
Serializable
{
@TableId
(
type
=
IdType
.
AUTO
)
private
Integer
id
;
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
ASSIGN_UUID
)
private
String
id
;
@XText
(
"base_photovoltaic_plant.id"
)
@TableField
...
...
@@ -50,85 +54,4 @@ public class BasePhotovoltaicPlantMapeAdjEnt implements Serializable {
@XText
(
"修改时间"
)
@TableField
private
Date
modifyTime
;
public
Integer
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Integer
value
)
{
this
.
id
=
value
;
}
public
String
getPlantId
()
{
return
this
.
plantId
;
}
public
void
setPlantId
(
String
value
)
{
this
.
plantId
=
value
;
}
public
Integer
getMapeType
()
{
return
this
.
mapeType
;
}
public
void
setMapeType
(
Integer
value
)
{
this
.
mapeType
=
value
;
}
public
BigDecimal
getMapePlusVal
()
{
return
this
.
mapePlusVal
;
}
public
void
setMapePlusVal
(
BigDecimal
value
)
{
this
.
mapePlusVal
=
value
;
}
public
String
getCreateById
()
{
return
this
.
createById
;
}
public
void
setCreateById
(
String
value
)
{
this
.
createById
=
value
;
}
public
String
getCreateByName
()
{
return
this
.
createByName
;
}
public
void
setCreateByName
(
String
value
)
{
this
.
createByName
=
value
;
}
public
Date
getCreateTime
()
{
return
this
.
createTime
;
}
public
void
setCreateTime
(
Date
value
)
{
this
.
createTime
=
value
;
}
public
String
getModifyById
()
{
return
this
.
modifyById
;
}
public
void
setModifyById
(
String
value
)
{
this
.
modifyById
=
value
;
}
public
String
getModifyByName
()
{
return
this
.
modifyByName
;
}
public
void
setModifyByName
(
String
value
)
{
this
.
modifyByName
=
value
;
}
public
Date
getModifyTime
()
{
return
this
.
modifyTime
;
}
public
void
setModifyTime
(
Date
value
)
{
this
.
modifyTime
=
value
;
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantMapeAdjView.java
View file @
5ab93574
package
pps.core.base.entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
public
class
BasePhotovoltaicPlantMapeAdjView
implements
Serializable
{
@TableField
private
Integer
id
;
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
ASSIGN_UUID
)
private
String
id
;
@XText
(
"base_photovoltaic_plant.id"
)
@TableField
...
...
@@ -46,85 +52,4 @@ public class BasePhotovoltaicPlantMapeAdjView implements Serializable {
@XText
(
"修改时间"
)
@TableField
private
Date
modifyTime
;
public
Integer
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Integer
value
)
{
this
.
id
=
value
;
}
public
String
getPlantId
()
{
return
this
.
plantId
;
}
public
void
setPlantId
(
String
value
)
{
this
.
plantId
=
value
;
}
public
Integer
getMapeType
()
{
return
this
.
mapeType
;
}
public
void
setMapeType
(
Integer
value
)
{
this
.
mapeType
=
value
;
}
public
BigDecimal
getMapePlusVal
()
{
return
this
.
mapePlusVal
;
}
public
void
setMapePlusVal
(
BigDecimal
value
)
{
this
.
mapePlusVal
=
value
;
}
public
String
getCreateById
()
{
return
this
.
createById
;
}
public
void
setCreateById
(
String
value
)
{
this
.
createById
=
value
;
}
public
String
getCreateByName
()
{
return
this
.
createByName
;
}
public
void
setCreateByName
(
String
value
)
{
this
.
createByName
=
value
;
}
public
Date
getCreateTime
()
{
return
this
.
createTime
;
}
public
void
setCreateTime
(
Date
value
)
{
this
.
createTime
=
value
;
}
public
String
getModifyById
()
{
return
this
.
modifyById
;
}
public
void
setModifyById
(
String
value
)
{
this
.
modifyById
=
value
;
}
public
String
getModifyByName
()
{
return
this
.
modifyByName
;
}
public
void
setModifyByName
(
String
value
)
{
this
.
modifyByName
=
value
;
}
public
Date
getModifyTime
()
{
return
this
.
modifyTime
;
}
public
void
setModifyTime
(
Date
value
)
{
this
.
modifyTime
=
value
;
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePhotovoltaicPlantMapeAdjService.java
View file @
5ab93574
...
...
@@ -21,6 +21,7 @@ import xstartup.base.util.XCopyUtils;
import
xstartup.data.XServiceResult
;
import
xstartup.data.XSingleResult
;
import
xstartup.feature.api.annotation.XApiPost
;
import
xstartup.helper.XTransactionHelper
;
import
java.math.BigDecimal
;
import
java.util.Date
;
...
...
@@ -32,6 +33,7 @@ public class BasePhotovoltaicPlantMapeAdjService {
@XText
(
"保存数据"
)
@XApiPost
public
XServiceResult
saveData
(
XContext
context
,
CreateBasePhotovoltaicPlantMapeAdjInput
input
)
{
return
XTransactionHelper
.
begin
(
context
,
()
->
{
BasePhotovoltaicPlantMapeAdjMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapeAdjMapper
.
class
);
BasePhotovoltaicPlantMapeAdjEnt
ent
=
XCopyUtils
.
copyNewObject
(
input
,
BasePhotovoltaicPlantMapeAdjEnt
.
class
);
if
(
ObjectUtil
.
isNull
(
ent
.
getMapePlusVal
()))
{
...
...
@@ -51,6 +53,7 @@ public class BasePhotovoltaicPlantMapeAdjService {
mapper
.
updateById
(
ent
);
}
return
XServiceResult
.
OK
;
});
}
@XText
(
"获取调整数据"
)
...
...
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