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
de76a472
Commit
de76a472
authored
Aug 24, 2023
by
luoxiangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
光伏电站配置
parent
64e6a598
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
184 additions
and
2492 deletions
+184
-2492
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantEnt.java
...n/java/pps/core/base/entity/BasePhotovoltaicPlantEnt.java
+9
-121
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantView.java
.../java/pps/core/base/entity/BasePhotovoltaicPlantView.java
+8
-119
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePhotovoltaicPlantService.java
...a/pps/core/base/service/BasePhotovoltaicPlantService.java
+53
-58
C09-base/pps-core-base/src/main/java/pps/core/base/service/BaseWellheadService.java
.../main/java/pps/core/base/service/BaseWellheadService.java
+13
-2
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/CreateBasePhotovoltaicPlantInput.java
..._photovoltaic_plant/CreateBasePhotovoltaicPlantInput.java
+7
-143
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/CreateBasePhotovoltaicPlantOutput.java
...photovoltaic_plant/CreateBasePhotovoltaicPlantOutput.java
+7
-119
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DeleteBasePhotovoltaicPlantInput.java
..._photovoltaic_plant/DeleteBasePhotovoltaicPlantInput.java
+2
-163
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DeleteBasePhotovoltaicPlantOutput.java
...photovoltaic_plant/DeleteBasePhotovoltaicPlantOutput.java
+6
-119
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DynamicQueryBasePhotovoltaicPlantInput.java
...voltaic_plant/DynamicQueryBasePhotovoltaicPlantInput.java
+6
-120
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DynamicQueryBasePhotovoltaicPlantOutput.java
...oltaic_plant/DynamicQueryBasePhotovoltaicPlantOutput.java
+6
-121
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DynamicQueryBasePhotovoltaicPlantViewOutput.java
...ic_plant/DynamicQueryBasePhotovoltaicPlantViewOutput.java
+6
-121
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantInput.java
...ase_photovoltaic_plant/GetBasePhotovoltaicPlantInput.java
+2
-161
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantOutput.java
...se_photovoltaic_plant/GetBasePhotovoltaicPlantOutput.java
+7
-121
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantViewInput.java
...photovoltaic_plant/GetBasePhotovoltaicPlantViewInput.java
+6
-120
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantViewOutput.java
...hotovoltaic_plant/GetBasePhotovoltaicPlantViewOutput.java
+6
-120
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantInput.java
...e_photovoltaic_plant/QueryBasePhotovoltaicPlantInput.java
+6
-143
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantOutput.java
..._photovoltaic_plant/QueryBasePhotovoltaicPlantOutput.java
+6
-120
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantViewInput.java
...otovoltaic_plant/QueryBasePhotovoltaicPlantViewInput.java
+6
-120
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantViewOutput.java
...tovoltaic_plant/QueryBasePhotovoltaicPlantViewOutput.java
+6
-119
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/UpdateBasePhotovoltaicPlantInput.java
..._photovoltaic_plant/UpdateBasePhotovoltaicPlantInput.java
+6
-141
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/UpdateBasePhotovoltaicPlantOutput.java
...photovoltaic_plant/UpdateBasePhotovoltaicPlantOutput.java
+6
-121
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/BasePhotovoltaicPlantViewMapper.xml
.../mapper/pps/core/base/BasePhotovoltaicPlantViewMapper.xml
+4
-0
No files found.
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantEnt.java
View file @
de76a472
...
...
@@ -7,12 +7,14 @@ import java.math.BigDecimal;
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
;
@Data
@TableName
(
"base_photovoltaic_plant"
)
public
class
BasePhotovoltaicPlantEnt
implements
Serializable
{
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
...
...
@@ -71,124 +73,10 @@ public class BasePhotovoltaicPlantEnt implements Serializable {
@TableField
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
@TableField
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
@TableField
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePhotovoltaicPlantView.java
View file @
de76a472
...
...
@@ -4,8 +4,10 @@ import java.io.Serializable;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
@Data
public
class
BasePhotovoltaicPlantView
implements
Serializable
{
@XText
(
"ID"
)
@TableField
...
...
@@ -67,124 +69,11 @@ public class BasePhotovoltaicPlantView implements Serializable {
@TableField
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
@TableField
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
@TableField
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePhotovoltaicPlantService.java
View file @
de76a472
package
pps.core.base.service
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
pps.core.base.constant.ScadaConstant
;
import
pps.core.base.entity.BasePhotovoltaicPlantEnt
;
import
pps.core.base.entity.BasePhotovoltaicPlantView
;
import
pps.core.base.entity.BaseWellheadEnt
;
import
pps.core.base.mapper.BasePhotovoltaicPlantMapper
;
import
pps.core.base.mapper.BasePhotovoltaicPlantViewMapper
;
import
pps.core.base.service.data.base_photovoltaic_plant.*
;
import
pps.core.base.utils.SessionSimulation
;
import
pps.core.common.session.PpsUserSession
;
import
xstartup.annotation.XService
;
import
xstartup.annotation.XText
;
import
xstartup.base.XContext
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.util.XCopyUtils
;
...
...
@@ -21,55 +27,87 @@ import xstartup.feature.api.annotation.XApiGet;
import
xstartup.feature.api.annotation.XApiPost
;
import
xstartup.feature.mybatis.helper.XMapperHelper
;
import
java.util.Date
;
import
java.util.List
;
/**
* @Author luoxiangyang
* @Description: 光伏电站配置
* @Date 2023/8/24
**/
@XService
public
class
BasePhotovoltaicPlantService
{
//todo 模拟登陆
private
final
PpsUserSession
session
=
SessionSimulation
.
getSession
();
@XText
(
"新增"
)
@XApiAnonymous
@XApiPost
public
XServiceResult
createBasePhotovoltaicPlant
(
XContext
context
,
CreateBasePhotovoltaicPlantInput
input
)
{
BasePhotovoltaicPlantMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapper
.
class
);
BasePhotovoltaicPlantEnt
entity
=
new
BasePhotovoltaicPlantEnt
();
XCopyUtils
.
copyObject
(
input
,
entity
);
entity
.
setCreateById
(
session
.
getId
());
entity
.
setCreateByName
(
session
.
getUserName
());
entity
.
setCreateTime
(
new
Date
());
entity
.
setModifyById
(
session
.
getId
());
entity
.
setModifyByName
(
session
.
getUserName
());
entity
.
setModifyTime
(
new
Date
());
mapper
.
insert
(
entity
);
return
XServiceResult
.
OK
;
}
@XText
(
"更新"
)
@XApiAnonymous
@XApiPost
public
XServiceResult
updateBasePhotovoltaicPlant
(
XContext
context
,
UpdateBasePhotovoltaicPlantInput
input
)
{
BasePhotovoltaicPlantMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapper
.
class
);
QueryWrapper
<
BasePhotovoltaicPlantEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
());
queryWrapper
.
lambda
()
.
eq
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getIsDeleted
,
ScadaConstant
.
IS_DELETE_FLASE
);
BasePhotovoltaicPlantEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XServiceResult
.
error
(
context
,
XError
.
NotFound
);
}
XCopyUtils
.
copyObject
(
input
,
entity
);
entity
.
setModifyById
(
session
.
getId
());
entity
.
setModifyByName
(
session
.
getUserName
());
entity
.
setModifyTime
(
new
Date
());
mapper
.
updateById
(
entity
);
return
XServiceResult
.
OK
;
}
@XText
(
"删除"
)
@XApiAnonymous
@XApiPost
public
XServiceResult
deleteBasePhotovoltaicPlant
(
XContext
context
,
DeleteBasePhotovoltaicPlantInput
input
)
{
BasePhotovoltaicPlantMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapper
.
class
);
QueryWrapper
<
BasePhotovoltaicPlantEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
());
queryWrapper
.
lambda
()
.
eq
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getIsDeleted
,
ScadaConstant
.
IS_DELETE_FLASE
);
BasePhotovoltaicPlantEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XServiceResult
.
error
(
context
,
XError
.
NotFound
);
}
mapper
.
deleteById
(
entity
);
entity
=
new
BasePhotovoltaicPlantEnt
();
entity
.
setId
(
input
.
getId
());
entity
.
setIsDeleted
(
ScadaConstant
.
IS_DELETE_TRUE
);
//PpsUserSession session = context.getSession(PpsUserSession.class);
entity
.
setModifyById
(
session
.
getId
());
entity
.
setModifyByName
(
session
.
getUserName
());
entity
.
setModifyTime
(
new
Date
());
mapper
.
updateById
(
entity
);
return
XServiceResult
.
OK
;
}
@XText
(
"根据id获取详情"
)
@XApiAnonymous
@XApiGet
public
XSingleResult
<
GetBasePhotovoltaicPlantOutput
>
getBasePhotovoltaicPlant
(
XContext
context
,
GetBasePhotovoltaicPlantInput
input
)
{
BasePhotovoltaicPlantMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapper
.
class
);
QueryWrapper
<
BasePhotovoltaicPlantEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
());
queryWrapper
.
lambda
()
.
eq
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getIsDeleted
,
ScadaConstant
.
IS_DELETE_FLASE
);
BasePhotovoltaicPlantEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
...
...
@@ -78,63 +116,20 @@ public class BasePhotovoltaicPlantService {
XCopyUtils
.
copyObject
(
entity
,
output
);
return
XSingleResult
.
success
(
output
);
}
@XText
(
"分页查询"
)
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePhotovoltaicPlantOutput
>
queryBasePhotovoltaicPlant
(
XContext
context
,
QueryBasePhotovoltaicPlantInput
input
)
{
BasePhotovoltaicPlantMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapper
.
class
);
String
stationName
=
input
.
getStationName
();
String
ouId
=
input
.
getOuId
();
QueryWrapper
<
BasePhotovoltaicPlantEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
like
(
BasePhotovoltaicPlantEnt:
:
getId
,
input
.
getId
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getIsDeleted
,
input
.
getIsDeleted
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getCreateById
,
input
.
getCreateById
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getCreateByName
,
input
.
getCreateByName
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getCreateTime
,
input
.
getCreateTime
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getModifyById
,
input
.
getModifyById
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getModifyByName
,
input
.
getModifyByName
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getModifyTime
,
input
.
getModifyTime
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getOuId
,
input
.
getOuId
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getStationName
,
input
.
getStationName
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getMakerNumber
,
input
.
getMakerNumber
())
.
like
(
BasePhotovoltaicPlantEnt:
:
getPhotovoltaicModelKey
,
input
.
getPhotovoltaicModelKey
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getMountingAngle
,
input
.
getMountingAngle
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getTotalPower
,
input
.
getTotalPower
())
.
eq
(
BasePhotovoltaicPlantEnt:
:
getArrayOrientation
,
input
.
getArrayOrientation
());
queryWrapper
.
lambda
()
.
eq
(
BasePhotovoltaicPlantEnt:
:
getIsDeleted
,
ScadaConstant
.
IS_DELETE_FLASE
)
.
eq
(
StrUtil
.
isNotEmpty
(
ouId
),
BasePhotovoltaicPlantEnt:
:
getOuId
,
ouId
)
.
like
(
StrUtil
.
isNotEmpty
(
stationName
),
BasePhotovoltaicPlantEnt:
:
getStationName
,
stationName
)
.
orderByDesc
(
BasePhotovoltaicPlantEnt:
:
getModifyTime
);
return
XMapperHelper
.
query
(
mapper
,
input
,
queryWrapper
,
QueryBasePhotovoltaicPlantOutput
.
class
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePhotovoltaicPlantOutput
>
dynamicQueryBasePhotovoltaicPlant
(
XContext
context
,
CustomQueryInput
input
)
{
BasePhotovoltaicPlantMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantMapper
.
class
);
return
XMapperHelper
.
query
(
mapper
,
input
,
BasePhotovoltaicPlantEnt
.
class
,
QueryBasePhotovoltaicPlantOutput
.
class
);
}
@XApiAnonymous
@XApiGet
public
XSingleResult
<
GetBasePhotovoltaicPlantViewOutput
>
getBasePhotovoltaicPlantView
(
XContext
context
,
GetBasePhotovoltaicPlantViewInput
input
)
{
BasePhotovoltaicPlantViewMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantViewMapper
.
class
);
BasePhotovoltaicPlantView
record
=
new
BasePhotovoltaicPlantView
();
XCopyUtils
.
copyObject
(
input
,
record
);
BasePhotovoltaicPlantView
view
=
mapper
.
selectOne
(
record
);
if
(
view
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
}
GetBasePhotovoltaicPlantViewOutput
output
=
new
GetBasePhotovoltaicPlantViewOutput
();
XCopyUtils
.
copyObject
(
view
,
output
);
return
XSingleResult
.
success
(
output
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePhotovoltaicPlantViewOutput
>
queryBasePhotovoltaicPlantView
(
XContext
context
,
QueryBasePhotovoltaicPlantViewInput
input
)
{
BasePhotovoltaicPlantViewMapper
mapper
=
context
.
getBean
(
BasePhotovoltaicPlantViewMapper
.
class
);
BasePhotovoltaicPlantView
record
=
new
BasePhotovoltaicPlantView
();
XCopyUtils
.
copyObject
(
input
,
record
);
PageHelper
.
startPage
(
input
.
getPage
(),
input
.
getLimit
());
List
<
BasePhotovoltaicPlantView
>
list
=
mapper
.
selectList
(
record
);
PageInfo
<
BasePhotovoltaicPlantView
>
pageInfo
=
new
PageInfo
<>(
list
);
List
<
QueryBasePhotovoltaicPlantViewOutput
>
outputs
=
XCopyUtils
.
copyNewList
(
pageInfo
.
getList
(),
QueryBasePhotovoltaicPlantViewOutput
.
class
);
return
XPageResult
.
success
(
outputs
,
input
,
pageInfo
.
getTotal
());
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BaseWellheadService.java
View file @
de76a472
...
...
@@ -22,8 +22,14 @@ import xstartup.feature.mybatis.helper.XMapperHelper;
import
java.util.Date
;
/**
* @Author luoxiangyang
* @Description: 井口配置
* @Date 2023/8/24
**/
@XService
public
class
BaseWellheadService
{
//todo 模拟登陆
private
final
PpsUserSession
session
=
SessionSimulation
.
getSession
();
@XText
(
"新增"
)
...
...
@@ -78,6 +84,10 @@ public class BaseWellheadService {
entity
=
new
BaseWellheadEnt
();
entity
.
setId
(
input
.
getId
());
entity
.
setIsDeleted
(
ScadaConstant
.
IS_DELETE_TRUE
);
//PpsUserSession session = context.getSession(PpsUserSession.class);
entity
.
setModifyById
(
session
.
getId
());
entity
.
setModifyByName
(
session
.
getUserName
());
entity
.
setModifyTime
(
new
Date
());
mapper
.
updateById
(
entity
);
return
XServiceResult
.
OK
;
}
...
...
@@ -88,8 +98,9 @@ public class BaseWellheadService {
public
XSingleResult
<
GetBaseWellheadOutput
>
getBaseWellhead
(
XContext
context
,
GetBaseWellheadInput
input
)
{
BaseWellheadMapper
mapper
=
context
.
getBean
(
BaseWellheadMapper
.
class
);
QueryWrapper
<
BaseWellheadEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BaseWellheadEnt:
:
getId
,
input
.
getId
());
queryWrapper
.
lambda
().
eq
(
BaseWellheadEnt:
:
getIsDeleted
,
ScadaConstant
.
IS_DELETE_FLASE
);
queryWrapper
.
lambda
()
.
eq
(
BaseWellheadEnt:
:
getId
,
input
.
getId
())
.
eq
(
BaseWellheadEnt:
:
getIsDeleted
,
ScadaConstant
.
IS_DELETE_FLASE
);
BaseWellheadEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/CreateBasePhotovoltaicPlantInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
CreateBasePhotovoltaicPlantInput
{
@XText
(
"ID"
)
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
private
Integer
isDeleted
;
@XText
(
"创建人ID"
)
private
String
createById
;
@XText
(
"创建人名称"
)
private
String
createByName
;
@XText
(
"创建时间"
)
private
Date
createTime
;
@XText
(
"修改人ID"
)
private
String
modifyById
;
@XText
(
"修改人名称"
)
private
String
modifyByName
;
@XText
(
"修改时间"
)
private
Date
modifyTime
;
@XText
(
"组织机构ID"
)
private
String
ouId
;
...
...
@@ -49,125 +29,9 @@ public class CreateBasePhotovoltaicPlantInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/CreateBasePhotovoltaicPlantOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
CreateBasePhotovoltaicPlantOutput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -50,124 +53,9 @@ public class CreateBasePhotovoltaicPlantOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DeleteBasePhotovoltaicPlantInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
DeleteBasePhotovoltaicPlantInput
{
@XText
(
"ID"
)
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
private
Integer
isDeleted
;
@XText
(
"创建人ID"
)
private
String
createById
;
@XText
(
"创建人名称"
)
private
String
createByName
;
@XText
(
"创建时间"
)
private
Date
createTime
;
@XText
(
"修改人ID"
)
private
String
modifyById
;
@XText
(
"修改人名称"
)
private
String
modifyByName
;
@XText
(
"修改时间"
)
private
Date
modifyTime
;
@XText
(
"组织机构ID"
)
private
String
ouId
;
@XText
(
"电站名称"
)
private
String
stationName
;
@XText
(
"出厂编号"
)
private
String
makerNumber
;
@XText
(
"光伏设备规格型号key(字典获取)"
)
private
String
photovoltaicModelKey
;
@XText
(
"安装倾角"
)
private
BigDecimal
mountingAngle
;
@XText
(
"装机总量(KWP)"
)
private
BigDecimal
totalPower
;
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DeleteBasePhotovoltaicPlantOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
DeleteBasePhotovoltaicPlantOutput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -50,124 +52,9 @@ public class DeleteBasePhotovoltaicPlantOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DynamicQueryBasePhotovoltaicPlantInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
DynamicQueryBasePhotovoltaicPlantInput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -49,125 +51,9 @@ public class DynamicQueryBasePhotovoltaicPlantInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DynamicQueryBasePhotovoltaicPlantOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
DynamicQueryBasePhotovoltaicPlantOutput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -49,125 +50,9 @@ public class DynamicQueryBasePhotovoltaicPlantOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/DynamicQueryBasePhotovoltaicPlantViewOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
DynamicQueryBasePhotovoltaicPlantViewOutput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -49,125 +50,9 @@ public class DynamicQueryBasePhotovoltaicPlantViewOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
GetBasePhotovoltaicPlantInput
{
@XText
(
"ID"
)
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
private
Integer
isDeleted
;
@XText
(
"创建人ID"
)
private
String
createById
;
@XText
(
"创建人名称"
)
private
String
createByName
;
@XText
(
"创建时间"
)
private
Date
createTime
;
@XText
(
"修改人ID"
)
private
String
modifyById
;
@XText
(
"修改人名称"
)
private
String
modifyByName
;
@XText
(
"修改时间"
)
private
Date
modifyTime
;
@XText
(
"组织机构ID"
)
private
String
ouId
;
@XText
(
"电站名称"
)
private
String
stationName
;
@XText
(
"出厂编号"
)
private
String
makerNumber
;
@XText
(
"光伏设备规格型号key(字典获取)"
)
private
String
photovoltaicModelKey
;
@XText
(
"安装倾角"
)
private
BigDecimal
mountingAngle
;
@XText
(
"装机总量(KWP)"
)
private
BigDecimal
totalPower
;
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
GetBasePhotovoltaicPlantOutput
{
@XText
(
"ID"
)
private
String
id
;
@XText
(
"是否删除(
0_是;1
_否)"
)
@XText
(
"是否删除(
1_是;0
_否)"
)
private
Integer
isDeleted
;
@XText
(
"创建人ID"
)
...
...
@@ -49,125 +51,9 @@ public class GetBasePhotovoltaicPlantOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantViewInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
GetBasePhotovoltaicPlantViewInput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -50,124 +51,9 @@ public class GetBasePhotovoltaicPlantViewInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/GetBasePhotovoltaicPlantViewOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
GetBasePhotovoltaicPlantViewOutput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -50,124 +51,9 @@ public class GetBasePhotovoltaicPlantViewOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
xstartup.base.data.XPageInput
;
@Data
public
class
QueryBasePhotovoltaicPlantInput
extends
XPageInput
{
@XText
(
"ID"
)
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
private
Integer
isDeleted
;
@XText
(
"创建人ID"
)
private
String
createById
;
@XText
(
"创建人名称"
)
private
String
createByName
;
@XText
(
"创建时间"
)
private
Date
createTime
;
@XText
(
"修改人ID"
)
private
String
modifyById
;
@XText
(
"修改人名称"
)
private
String
modifyByName
;
@XText
(
"修改时间"
)
private
Date
modifyTime
;
@XText
(
"组织机构ID"
)
private
String
ouId
;
...
...
@@ -51,124 +29,9 @@ public class QueryBasePhotovoltaicPlantInput extends XPageInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
xstartup.base.data.XPageInput
;
@Data
public
class
QueryBasePhotovoltaicPlantOutput
extends
XPageInput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -50,125 +52,9 @@ public class QueryBasePhotovoltaicPlantOutput extends XPageInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantViewInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
xstartup.base.data.XPageInput
;
@Data
public
class
QueryBasePhotovoltaicPlantViewInput
extends
XPageInput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -51,124 +52,9 @@ public class QueryBasePhotovoltaicPlantViewInput extends XPageInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/QueryBasePhotovoltaicPlantViewOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
xstartup.base.data.XPageInput
;
@Data
public
class
QueryBasePhotovoltaicPlantViewOutput
extends
XPageInput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -51,124 +53,9 @@ public class QueryBasePhotovoltaicPlantViewOutput extends XPageInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/UpdateBasePhotovoltaicPlantInput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
UpdateBasePhotovoltaicPlantInput
{
@XText
(
"ID"
)
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
private
Integer
isDeleted
;
@XText
(
"创建人ID"
)
private
String
createById
;
@XText
(
"创建人名称"
)
private
String
createByName
;
@XText
(
"创建时间"
)
private
Date
createTime
;
@XText
(
"修改人ID"
)
private
String
modifyById
;
@XText
(
"修改人名称"
)
private
String
modifyByName
;
@XText
(
"修改时间"
)
private
Date
modifyTime
;
@XText
(
"组织机构ID"
)
private
String
ouId
;
...
...
@@ -50,124 +30,9 @@ public class UpdateBasePhotovoltaicPlantInput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_photovoltaic_plant/UpdateBasePhotovoltaicPlantOutput.java
View file @
de76a472
package
pps.core.base.service.data.base_photovoltaic_plant
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
@Data
public
class
UpdateBasePhotovoltaicPlantOutput
{
@XText
(
"ID"
)
private
String
id
;
...
...
@@ -49,125 +50,9 @@ public class UpdateBasePhotovoltaicPlantOutput {
@XText
(
"阵列朝向"
)
private
BigDecimal
arrayOrientation
;
public
String
getId
()
{
return
this
.
id
;
}
public
void
setId
(
String
value
)
{
this
.
id
=
value
;
}
public
Integer
getIsDeleted
()
{
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
Integer
value
)
{
this
.
isDeleted
=
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
;
}
public
String
getOuId
()
{
return
this
.
ouId
;
}
public
void
setOuId
(
String
value
)
{
this
.
ouId
=
value
;
}
public
String
getStationName
()
{
return
this
.
stationName
;
}
public
void
setStationName
(
String
value
)
{
this
.
stationName
=
value
;
}
public
String
getMakerNumber
()
{
return
this
.
makerNumber
;
}
public
void
setMakerNumber
(
String
value
)
{
this
.
makerNumber
=
value
;
}
public
String
getPhotovoltaicModelKey
()
{
return
this
.
photovoltaicModelKey
;
}
public
void
setPhotovoltaicModelKey
(
String
value
)
{
this
.
photovoltaicModelKey
=
value
;
}
public
BigDecimal
getMountingAngle
()
{
return
this
.
mountingAngle
;
}
public
void
setMountingAngle
(
BigDecimal
value
)
{
this
.
mountingAngle
=
value
;
}
public
BigDecimal
getTotalPower
()
{
return
this
.
totalPower
;
}
public
void
setTotalPower
(
BigDecimal
value
)
{
this
.
totalPower
=
value
;
}
public
BigDecimal
getArrayOrientation
()
{
return
this
.
arrayOrientation
;
}
public
void
setArrayOrientation
(
BigDecimal
value
)
{
this
.
arrayOrientation
=
value
;
}
@XText
(
"组织机构name"
)
private
String
ouName
;
@XText
(
"光伏设备规格型号name(字典获取)"
)
private
String
photovoltaicModelName
;
}
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/BasePhotovoltaicPlantViewMapper.xml
View file @
de76a472
...
...
@@ -11,9 +11,11 @@
<result
column=
"modify_by_name"
property=
"modifyByName"
jdbcType=
"VARCHAR"
/>
<result
column=
"modify_time"
property=
"modifyTime"
jdbcType=
"DATE"
/>
<result
column=
"ou_id"
property=
"ouId"
jdbcType=
"VARCHAR"
/>
<result
column=
"ou_name"
property=
"ouName"
jdbcType=
"VARCHAR"
/>
<result
column=
"station_name"
property=
"stationName"
jdbcType=
"VARCHAR"
/>
<result
column=
"maker_number"
property=
"makerNumber"
jdbcType=
"VARCHAR"
/>
<result
column=
"photovoltaic_model_key"
property=
"photovoltaicModelKey"
jdbcType=
"VARCHAR"
/>
<result
column=
"photovoltaic_model_name"
property=
"photovoltaicModelName"
jdbcType=
"VARCHAR"
/>
<result
column=
"mounting_angle"
property=
"mountingAngle"
jdbcType=
"DECIMAL"
/>
<result
column=
"total_power"
property=
"totalPower"
jdbcType=
"DECIMAL"
/>
<result
column=
"array_orientation"
property=
"arrayOrientation"
jdbcType=
"DECIMAL"
/>
...
...
@@ -28,9 +30,11 @@
modify_by_name,
modify_time,
ou_id,
ou_name,
station_name,
maker_number,
photovoltaic_model_key,
photovoltaic_model_name,
mounting_angle,
total_power,
array_orientation
...
...
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