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
64e6a598
Commit
64e6a598
authored
Aug 24, 2023
by
luoxiangyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
486a0f60
708e97a1
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
369 additions
and
1140 deletions
+369
-1140
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyDetailEnt.java
...java/pps/core/base/entity/BasePriceStrategyDetailEnt.java
+16
-127
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyDetailView.java
...ava/pps/core/base/entity/BasePriceStrategyDetailView.java
+9
-126
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyEnt.java
.../main/java/pps/core/base/entity/BasePriceStrategyEnt.java
+14
-109
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyMonthEnt.java
.../java/pps/core/base/entity/BasePriceStrategyMonthEnt.java
+12
-85
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyDetailMapper.java
...a/pps/core/base/mapper/BasePriceStrategyDetailMapper.java
+7
-1
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyDetailViewMapper.java
...s/core/base/mapper/BasePriceStrategyDetailViewMapper.java
+9
-2
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyMapper.java
...in/java/pps/core/base/mapper/BasePriceStrategyMapper.java
+7
-1
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyMonthMapper.java
...va/pps/core/base/mapper/BasePriceStrategyMonthMapper.java
+9
-1
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePowerLineService.java
...main/java/pps/core/base/service/BasePowerLineService.java
+8
-0
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePriceStrategyDetailService.java
...pps/core/base/service/BasePriceStrategyDetailService.java
+0
-140
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePriceStrategyMonthService.java
.../pps/core/base/service/BasePriceStrategyMonthService.java
+0
-135
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePriceStrategyService.java
.../java/pps/core/base/service/BasePriceStrategyService.java
+127
-5
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy/CreateBasePriceStrategyInput.java
...ata/base_price_strategy/CreateBasePriceStrategyInput.java
+27
-106
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/CreateBasePriceStrategyDetailInput.java
...e_strategy_detail/CreateBasePriceStrategyDetailInput.java
+17
-124
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/CreateBasePriceStrategyDetailOutput.java
..._strategy_detail/CreateBasePriceStrategyDetailOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DeleteBasePriceStrategyDetailInput.java
...e_strategy_detail/DeleteBasePriceStrategyDetailInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DeleteBasePriceStrategyDetailOutput.java
..._strategy_detail/DeleteBasePriceStrategyDetailOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DynamicQueryBasePriceStrategyDetailInput.java
...tegy_detail/DynamicQueryBasePriceStrategyDetailInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DynamicQueryBasePriceStrategyDetailOutput.java
...egy_detail/DynamicQueryBasePriceStrategyDetailOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DynamicQueryBasePriceStrategyDetailViewOutput.java
...detail/DynamicQueryBasePriceStrategyDetailViewOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailInput.java
...rice_strategy_detail/GetBasePriceStrategyDetailInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailOutput.java
...ice_strategy_detail/GetBasePriceStrategyDetailOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailViewInput.java
..._strategy_detail/GetBasePriceStrategyDetailViewInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailViewOutput.java
...strategy_detail/GetBasePriceStrategyDetailViewOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailInput.java
...ce_strategy_detail/QueryBasePriceStrategyDetailInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailOutput.java
...e_strategy_detail/QueryBasePriceStrategyDetailOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailViewInput.java
...trategy_detail/QueryBasePriceStrategyDetailViewInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailViewOutput.java
...rategy_detail/QueryBasePriceStrategyDetailViewOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/UpdateBasePriceStrategyDetailInput.java
...e_strategy_detail/UpdateBasePriceStrategyDetailInput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/UpdateBasePriceStrategyDetailOutput.java
..._strategy_detail/UpdateBasePriceStrategyDetailOutput.java
+6
-6
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_month/CreateBasePriceStrategyMonthInput.java
...ice_strategy_month/CreateBasePriceStrategyMonthInput.java
+11
-82
No files found.
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyDetailEnt.java
View file @
64e6a598
package
pps.core.base.entity
;
package
pps.core.base.entity
;
import
java.io.Serializable
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.math.BigDecimal
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 市电峰谷当月明细配置
*
* @author ZWT
* @date 2023/08/24
*/
@Data
@TableName
(
"base_price_strategy_detail"
)
@TableName
(
"base_price_strategy_detail"
)
public
class
BasePriceStrategyDetailEnt
implements
Serializable
{
public
class
BasePriceStrategyDetailEnt
implements
Serializable
{
@XText
(
"ID"
)
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
String
id
;
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
@XText
(
"是否删除(0_是;1_否)"
)
...
@@ -47,9 +56,10 @@ public class BasePriceStrategyDetailEnt implements Serializable {
...
@@ -47,9 +56,10 @@ public class BasePriceStrategyDetailEnt implements Serializable {
@TableField
@TableField
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
@TableField
@TableField
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
@TableField
@TableField
...
@@ -70,125 +80,4 @@ public class BasePriceStrategyDetailEnt implements Serializable {
...
@@ -70,125 +80,4 @@ public class BasePriceStrategyDetailEnt implements Serializable {
@XText
(
"内部结算价"
)
@XText
(
"内部结算价"
)
@TableField
@TableField
private
BigDecimal
internalSettlementPrice
;
private
BigDecimal
internalSettlementPrice
;
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
getStrategyId
()
{
return
this
.
strategyId
;
}
public
void
setStrategyId
(
String
value
)
{
this
.
strategyId
=
value
;
}
public
String
getStrategyMonthId
()
{
return
this
.
strategyMonthId
;
}
public
void
setStrategyMonthId
(
String
value
)
{
this
.
strategyMonthId
=
value
;
}
public
String
getPeriodTypeKey
()
{
return
this
.
periodTypeKey
;
}
public
void
setPeriodTypeKey
(
String
value
)
{
this
.
periodTypeKey
=
value
;
}
public
Date
getStartTime
()
{
return
this
.
startTime
;
}
public
void
setStartTime
(
Date
value
)
{
this
.
startTime
=
value
;
}
public
Date
getEndTime
()
{
return
this
.
endTime
;
}
public
void
setEndTime
(
Date
value
)
{
this
.
endTime
=
value
;
}
public
BigDecimal
getElectrovalence
()
{
return
this
.
electrovalence
;
}
public
void
setElectrovalence
(
BigDecimal
value
)
{
this
.
electrovalence
=
value
;
}
public
BigDecimal
getInternalSettlementPrice
()
{
return
this
.
internalSettlementPrice
;
}
public
void
setInternalSettlementPrice
(
BigDecimal
value
)
{
this
.
internalSettlementPrice
=
value
;
}
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyDetailView.java
View file @
64e6a598
package
pps.core.base.entity
;
package
pps.core.base.entity
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
public
class
BasePriceStrategyDetailView
implements
Serializable
{
public
class
BasePriceStrategyDetailView
implements
Serializable
{
@XText
(
"ID"
)
@XText
(
"ID"
)
@TableField
@TableField
...
@@ -43,9 +46,10 @@ public class BasePriceStrategyDetailView implements Serializable {
...
@@ -43,9 +46,10 @@ public class BasePriceStrategyDetailView implements Serializable {
@TableField
@TableField
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
@TableField
@TableField
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
@TableField
@TableField
...
@@ -66,125 +70,4 @@ public class BasePriceStrategyDetailView implements Serializable {
...
@@ -66,125 +70,4 @@ public class BasePriceStrategyDetailView implements Serializable {
@XText
(
"内部结算价"
)
@XText
(
"内部结算价"
)
@TableField
@TableField
private
BigDecimal
internalSettlementPrice
;
private
BigDecimal
internalSettlementPrice
;
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
getStrategyId
()
{
return
this
.
strategyId
;
}
public
void
setStrategyId
(
String
value
)
{
this
.
strategyId
=
value
;
}
public
String
getStrategyMonthId
()
{
return
this
.
strategyMonthId
;
}
public
void
setStrategyMonthId
(
String
value
)
{
this
.
strategyMonthId
=
value
;
}
public
String
getPeriodTypeKey
()
{
return
this
.
periodTypeKey
;
}
public
void
setPeriodTypeKey
(
String
value
)
{
this
.
periodTypeKey
=
value
;
}
public
Date
getStartTime
()
{
return
this
.
startTime
;
}
public
void
setStartTime
(
Date
value
)
{
this
.
startTime
=
value
;
}
public
Date
getEndTime
()
{
return
this
.
endTime
;
}
public
void
setEndTime
(
Date
value
)
{
this
.
endTime
=
value
;
}
public
BigDecimal
getElectrovalence
()
{
return
this
.
electrovalence
;
}
public
void
setElectrovalence
(
BigDecimal
value
)
{
this
.
electrovalence
=
value
;
}
public
BigDecimal
getInternalSettlementPrice
()
{
return
this
.
internalSettlementPrice
;
}
public
void
setInternalSettlementPrice
(
BigDecimal
value
)
{
this
.
internalSettlementPrice
=
value
;
}
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyEnt.java
View file @
64e6a598
package
pps.core.base.entity
;
package
pps.core.base.entity
;
import
java.io.Serializable
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.math.BigDecimal
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 市电峰谷策略
*
* @author ZWT
* @date 2023/08/24
*/
@Data
@TableName
(
"base_price_strategy"
)
@TableName
(
"base_price_strategy"
)
public
class
BasePriceStrategyEnt
implements
Serializable
{
public
class
BasePriceStrategyEnt
implements
Serializable
{
@XText
(
"ID"
)
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
String
id
;
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
@XText
(
"是否删除(0_是;1_否)"
)
...
@@ -62,109 +72,4 @@ public class BasePriceStrategyEnt implements Serializable {
...
@@ -62,109 +72,4 @@ public class BasePriceStrategyEnt implements Serializable {
@XText
(
"固定电价"
)
@XText
(
"固定电价"
)
@TableField
@TableField
private
BigDecimal
fixedElectricityPrice
;
private
BigDecimal
fixedElectricityPrice
;
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
getPolicyName
()
{
return
this
.
policyName
;
}
public
void
setPolicyName
(
String
value
)
{
this
.
policyName
=
value
;
}
public
String
getAreaCode
()
{
return
this
.
areaCode
;
}
public
void
setAreaCode
(
String
value
)
{
this
.
areaCode
=
value
;
}
public
Integer
getStrategyYear
()
{
return
this
.
strategyYear
;
}
public
void
setStrategyYear
(
Integer
value
)
{
this
.
strategyYear
=
value
;
}
public
Integer
getIsFixedPrice
()
{
return
this
.
isFixedPrice
;
}
public
void
setIsFixedPrice
(
Integer
value
)
{
this
.
isFixedPrice
=
value
;
}
public
BigDecimal
getFixedElectricityPrice
()
{
return
this
.
fixedElectricityPrice
;
}
public
void
setFixedElectricityPrice
(
BigDecimal
value
)
{
this
.
fixedElectricityPrice
=
value
;
}
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/entity/BasePriceStrategyMonthEnt.java
View file @
64e6a598
package
pps.core.base.entity
;
package
pps.core.base.entity
;
import
java.io.Serializable
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.math.BigDecimal
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 市电峰谷月配置表
*
* @author ZWT
* @date 2023/08/24
*/
@Data
@TableName
(
"base_price_strategy_month"
)
@TableName
(
"base_price_strategy_month"
)
public
class
BasePriceStrategyMonthEnt
implements
Serializable
{
public
class
BasePriceStrategyMonthEnt
implements
Serializable
{
@XText
(
"ID"
)
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
String
id
;
private
String
id
;
@XText
(
"是否删除(0_是;1_否)"
)
@XText
(
"是否删除(0_是;1_否)"
)
...
@@ -50,85 +58,4 @@ public class BasePriceStrategyMonthEnt implements Serializable {
...
@@ -50,85 +58,4 @@ public class BasePriceStrategyMonthEnt implements Serializable {
@XText
(
"市电峰谷月(1-12)"
)
@XText
(
"市电峰谷月(1-12)"
)
@TableField
@TableField
private
Integer
strategyMonth
;
private
Integer
strategyMonth
;
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
getStrategyId
()
{
return
this
.
strategyId
;
}
public
void
setStrategyId
(
String
value
)
{
this
.
strategyId
=
value
;
}
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
;
}
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
=
value
;
}
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyDetailMapper.java
View file @
64e6a598
...
@@ -4,6 +4,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
...
@@ -4,6 +4,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
import
pps.core.base.entity.BasePriceStrategyDetailEnt
;
import
pps.core.base.entity.BasePriceStrategyDetailEnt
;
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyDetailMapper"
)
/**
* 市电峰谷当月明细配置
*
* @author ZWT
* @date 2023/08/24
*/
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyDetailMapper"
)
public
interface
BasePriceStrategyDetailMapper
extends
BaseMapper
<
BasePriceStrategyDetailEnt
>
{
public
interface
BasePriceStrategyDetailMapper
extends
BaseMapper
<
BasePriceStrategyDetailEnt
>
{
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyDetailViewMapper.java
View file @
64e6a598
package
pps.core.base.mapper
;
package
pps.core.base.mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
import
pps.core.base.entity.BasePriceStrategyDetailView
;
import
pps.core.base.entity.BasePriceStrategyDetailView
;
import
java.util.List
;
import
java.util.List
;
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyDetailViewMapper"
)
/**
* 市电峰谷当月明细配置
*
* @author ZWT
* @date 2023/08/24
*/
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyDetailViewMapper"
)
public
interface
BasePriceStrategyDetailViewMapper
{
public
interface
BasePriceStrategyDetailViewMapper
{
BasePriceStrategyDetailView
selectOne
(
BasePriceStrategyDetailView
record
);
BasePriceStrategyDetailView
selectOne
(
BasePriceStrategyDetailView
record
);
List
<
BasePriceStrategyDetailView
>
selectList
(
BasePriceStrategyDetailView
record
);
List
<
BasePriceStrategyDetailView
>
selectList
(
BasePriceStrategyDetailView
record
);
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyMapper.java
View file @
64e6a598
...
@@ -4,6 +4,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
...
@@ -4,6 +4,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
import
pps.core.base.entity.BasePriceStrategyEnt
;
import
pps.core.base.entity.BasePriceStrategyEnt
;
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyMapper"
)
/**
* 市电峰谷策略
*
* @author ZWT
* @date 2023/08/24
*/
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyMapper"
)
public
interface
BasePriceStrategyMapper
extends
BaseMapper
<
BasePriceStrategyEnt
>
{
public
interface
BasePriceStrategyMapper
extends
BaseMapper
<
BasePriceStrategyEnt
>
{
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/mapper/BasePriceStrategyMonthMapper.java
View file @
64e6a598
...
@@ -4,6 +4,14 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
...
@@ -4,6 +4,14 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
import
pps.core.base.entity.BasePriceStrategyMonthEnt
;
import
pps.core.base.entity.BasePriceStrategyMonthEnt
;
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyMonthMapper"
)
/**
* 市电峰谷月配置
*
* @author ZWT
* @date 2023/08/24
*/
@Repository
(
value
=
"pps.core.base.mapper.BasePriceStrategyMonthMapper"
)
public
interface
BasePriceStrategyMonthMapper
extends
BaseMapper
<
BasePriceStrategyMonthEnt
>
{
public
interface
BasePriceStrategyMonthMapper
extends
BaseMapper
<
BasePriceStrategyMonthEnt
>
{
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePowerLineService.java
View file @
64e6a598
...
@@ -9,6 +9,7 @@ import pps.core.base.mapper.BasePowerLineMapper;
...
@@ -9,6 +9,7 @@ import pps.core.base.mapper.BasePowerLineMapper;
import
pps.core.base.mapper.BasePowerLineViewMapper
;
import
pps.core.base.mapper.BasePowerLineViewMapper
;
import
pps.core.base.service.data.base_power_line.*
;
import
pps.core.base.service.data.base_power_line.*
;
import
xstartup.annotation.XService
;
import
xstartup.annotation.XService
;
import
xstartup.annotation.XText
;
import
xstartup.base.XContext
;
import
xstartup.base.XContext
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.util.XCopyUtils
;
import
xstartup.base.util.XCopyUtils
;
...
@@ -23,7 +24,14 @@ import xstartup.feature.mybatis.helper.XMapperHelper;
...
@@ -23,7 +24,14 @@ import xstartup.feature.mybatis.helper.XMapperHelper;
import
java.util.List
;
import
java.util.List
;
/**
* 输电线路配置模块
*
* @author ZWT
* @date 2023/08/24
*/
@XService
@XService
@XText
(
"输电线路配置模块"
)
public
class
BasePowerLineService
{
public
class
BasePowerLineService
{
@XApiAnonymous
@XApiAnonymous
@XApiPost
@XApiPost
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePriceStrategyDetailService.java
deleted
100644 → 0
View file @
486a0f60
package
pps.core.base.service
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
pps.core.base.entity.BasePriceStrategyDetailEnt
;
import
pps.core.base.entity.BasePriceStrategyDetailView
;
import
pps.core.base.mapper.BasePriceStrategyDetailMapper
;
import
pps.core.base.mapper.BasePriceStrategyDetailViewMapper
;
import
pps.core.base.service.data.base_price_strategy_detail.*
;
import
xstartup.annotation.XService
;
import
xstartup.base.XContext
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.util.XCopyUtils
;
import
xstartup.data.XPageResult
;
import
xstartup.data.XServiceResult
;
import
xstartup.data.XSingleResult
;
import
xstartup.error.XError
;
import
xstartup.feature.api.annotation.XApiAnonymous
;
import
xstartup.feature.api.annotation.XApiGet
;
import
xstartup.feature.api.annotation.XApiPost
;
import
xstartup.feature.mybatis.helper.XMapperHelper
;
import
java.util.List
;
@XService
public
class
BasePriceStrategyDetailService
{
@XApiAnonymous
@XApiPost
public
XServiceResult
createBasePriceStrategyDetail
(
XContext
context
,
CreateBasePriceStrategyDetailInput
input
)
{
BasePriceStrategyDetailMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
BasePriceStrategyDetailEnt
entity
=
new
BasePriceStrategyDetailEnt
();
XCopyUtils
.
copyObject
(
input
,
entity
);
mapper
.
insert
(
entity
);
return
XServiceResult
.
OK
;
}
@XApiAnonymous
@XApiPost
public
XServiceResult
updateBasePriceStrategyDetail
(
XContext
context
,
UpdateBasePriceStrategyDetailInput
input
)
{
BasePriceStrategyDetailMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
QueryWrapper
<
BasePriceStrategyDetailEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePriceStrategyDetailEnt:
:
getId
,
input
.
getId
());
BasePriceStrategyDetailEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XServiceResult
.
error
(
context
,
XError
.
NotFound
);
}
XCopyUtils
.
copyObject
(
input
,
entity
);
mapper
.
updateById
(
entity
);
return
XServiceResult
.
OK
;
}
@XApiAnonymous
@XApiPost
public
XServiceResult
deleteBasePriceStrategyDetail
(
XContext
context
,
DeleteBasePriceStrategyDetailInput
input
)
{
BasePriceStrategyDetailMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
QueryWrapper
<
BasePriceStrategyDetailEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePriceStrategyDetailEnt:
:
getId
,
input
.
getId
());
BasePriceStrategyDetailEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XServiceResult
.
error
(
context
,
XError
.
NotFound
);
}
mapper
.
deleteById
(
entity
);
return
XServiceResult
.
OK
;
}
@XApiAnonymous
@XApiGet
public
XSingleResult
<
GetBasePriceStrategyDetailOutput
>
getBasePriceStrategyDetail
(
XContext
context
,
GetBasePriceStrategyDetailInput
input
)
{
BasePriceStrategyDetailMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
QueryWrapper
<
BasePriceStrategyDetailEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePriceStrategyDetailEnt:
:
getId
,
input
.
getId
());
BasePriceStrategyDetailEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
}
GetBasePriceStrategyDetailOutput
output
=
new
GetBasePriceStrategyDetailOutput
();
XCopyUtils
.
copyObject
(
entity
,
output
);
return
XSingleResult
.
success
(
output
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePriceStrategyDetailOutput
>
queryBasePriceStrategyDetail
(
XContext
context
,
QueryBasePriceStrategyDetailInput
input
)
{
BasePriceStrategyDetailMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
QueryWrapper
<
BasePriceStrategyDetailEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
like
(
BasePriceStrategyDetailEnt:
:
getId
,
input
.
getId
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getIsDeleted
,
input
.
getIsDeleted
())
.
like
(
BasePriceStrategyDetailEnt:
:
getCreateById
,
input
.
getCreateById
())
.
like
(
BasePriceStrategyDetailEnt:
:
getCreateByName
,
input
.
getCreateByName
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getCreateTime
,
input
.
getCreateTime
())
.
like
(
BasePriceStrategyDetailEnt:
:
getModifyById
,
input
.
getModifyById
())
.
like
(
BasePriceStrategyDetailEnt:
:
getModifyByName
,
input
.
getModifyByName
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getModifyTime
,
input
.
getModifyTime
())
.
like
(
BasePriceStrategyDetailEnt:
:
getStrategyId
,
input
.
getStrategyId
())
.
like
(
BasePriceStrategyDetailEnt:
:
getStrategyMonthId
,
input
.
getStrategyMonthId
())
.
like
(
BasePriceStrategyDetailEnt:
:
getPeriodTypeKey
,
input
.
getPeriodTypeKey
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getStartTime
,
input
.
getStartTime
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getEndTime
,
input
.
getEndTime
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getElectrovalence
,
input
.
getElectrovalence
())
.
eq
(
BasePriceStrategyDetailEnt:
:
getInternalSettlementPrice
,
input
.
getInternalSettlementPrice
());
return
XMapperHelper
.
query
(
mapper
,
input
,
queryWrapper
,
QueryBasePriceStrategyDetailOutput
.
class
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePriceStrategyDetailOutput
>
dynamicQueryBasePriceStrategyDetail
(
XContext
context
,
CustomQueryInput
input
)
{
BasePriceStrategyDetailMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
return
XMapperHelper
.
query
(
mapper
,
input
,
BasePriceStrategyDetailEnt
.
class
,
QueryBasePriceStrategyDetailOutput
.
class
);
}
@XApiAnonymous
@XApiGet
public
XSingleResult
<
GetBasePriceStrategyDetailViewOutput
>
getBasePriceStrategyDetailView
(
XContext
context
,
GetBasePriceStrategyDetailViewInput
input
)
{
BasePriceStrategyDetailViewMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailViewMapper
.
class
);
BasePriceStrategyDetailView
record
=
new
BasePriceStrategyDetailView
();
XCopyUtils
.
copyObject
(
input
,
record
);
BasePriceStrategyDetailView
view
=
mapper
.
selectOne
(
record
);
if
(
view
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
}
GetBasePriceStrategyDetailViewOutput
output
=
new
GetBasePriceStrategyDetailViewOutput
();
XCopyUtils
.
copyObject
(
view
,
output
);
return
XSingleResult
.
success
(
output
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePriceStrategyDetailViewOutput
>
queryBasePriceStrategyDetailView
(
XContext
context
,
QueryBasePriceStrategyDetailViewInput
input
)
{
BasePriceStrategyDetailViewMapper
mapper
=
context
.
getBean
(
BasePriceStrategyDetailViewMapper
.
class
);
BasePriceStrategyDetailView
record
=
new
BasePriceStrategyDetailView
();
XCopyUtils
.
copyObject
(
input
,
record
);
PageHelper
.
startPage
(
input
.
getPage
(),
input
.
getLimit
());
List
<
BasePriceStrategyDetailView
>
list
=
mapper
.
selectList
(
record
);
PageInfo
<
BasePriceStrategyDetailView
>
pageInfo
=
new
PageInfo
<>(
list
);
List
<
QueryBasePriceStrategyDetailViewOutput
>
outputs
=
XCopyUtils
.
copyNewList
(
pageInfo
.
getList
(),
QueryBasePriceStrategyDetailViewOutput
.
class
);
return
XPageResult
.
success
(
outputs
,
input
,
pageInfo
.
getTotal
());
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePriceStrategyMonthService.java
deleted
100644 → 0
View file @
486a0f60
package
pps.core.base.service
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
pps.core.base.entity.BasePriceStrategyMonthEnt
;
import
pps.core.base.entity.BasePriceStrategyMonthView
;
import
pps.core.base.mapper.BasePriceStrategyMonthMapper
;
import
pps.core.base.mapper.BasePriceStrategyMonthViewMapper
;
import
pps.core.base.service.data.base_price_strategy_month.*
;
import
xstartup.annotation.XService
;
import
xstartup.base.XContext
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.util.XCopyUtils
;
import
xstartup.data.XPageResult
;
import
xstartup.data.XServiceResult
;
import
xstartup.data.XSingleResult
;
import
xstartup.error.XError
;
import
xstartup.feature.api.annotation.XApiAnonymous
;
import
xstartup.feature.api.annotation.XApiGet
;
import
xstartup.feature.api.annotation.XApiPost
;
import
xstartup.feature.mybatis.helper.XMapperHelper
;
import
java.util.List
;
@XService
public
class
BasePriceStrategyMonthService
{
@XApiAnonymous
@XApiPost
public
XServiceResult
createBasePriceStrategyMonth
(
XContext
context
,
CreateBasePriceStrategyMonthInput
input
)
{
BasePriceStrategyMonthMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
BasePriceStrategyMonthEnt
entity
=
new
BasePriceStrategyMonthEnt
();
XCopyUtils
.
copyObject
(
input
,
entity
);
mapper
.
insert
(
entity
);
return
XServiceResult
.
OK
;
}
@XApiAnonymous
@XApiPost
public
XServiceResult
updateBasePriceStrategyMonth
(
XContext
context
,
UpdateBasePriceStrategyMonthInput
input
)
{
BasePriceStrategyMonthMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
QueryWrapper
<
BasePriceStrategyMonthEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePriceStrategyMonthEnt:
:
getId
,
input
.
getId
());
BasePriceStrategyMonthEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XServiceResult
.
error
(
context
,
XError
.
NotFound
);
}
XCopyUtils
.
copyObject
(
input
,
entity
);
mapper
.
updateById
(
entity
);
return
XServiceResult
.
OK
;
}
@XApiAnonymous
@XApiPost
public
XServiceResult
deleteBasePriceStrategyMonth
(
XContext
context
,
DeleteBasePriceStrategyMonthInput
input
)
{
BasePriceStrategyMonthMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
QueryWrapper
<
BasePriceStrategyMonthEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePriceStrategyMonthEnt:
:
getId
,
input
.
getId
());
BasePriceStrategyMonthEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XServiceResult
.
error
(
context
,
XError
.
NotFound
);
}
mapper
.
deleteById
(
entity
);
return
XServiceResult
.
OK
;
}
@XApiAnonymous
@XApiGet
public
XSingleResult
<
GetBasePriceStrategyMonthOutput
>
getBasePriceStrategyMonth
(
XContext
context
,
GetBasePriceStrategyMonthInput
input
)
{
BasePriceStrategyMonthMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
QueryWrapper
<
BasePriceStrategyMonthEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
BasePriceStrategyMonthEnt:
:
getId
,
input
.
getId
());
BasePriceStrategyMonthEnt
entity
=
mapper
.
selectOne
(
queryWrapper
);
if
(
entity
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
}
GetBasePriceStrategyMonthOutput
output
=
new
GetBasePriceStrategyMonthOutput
();
XCopyUtils
.
copyObject
(
entity
,
output
);
return
XSingleResult
.
success
(
output
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePriceStrategyMonthOutput
>
queryBasePriceStrategyMonth
(
XContext
context
,
QueryBasePriceStrategyMonthInput
input
)
{
BasePriceStrategyMonthMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
QueryWrapper
<
BasePriceStrategyMonthEnt
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
like
(
BasePriceStrategyMonthEnt:
:
getId
,
input
.
getId
())
.
eq
(
BasePriceStrategyMonthEnt:
:
getIsDeleted
,
input
.
getIsDeleted
())
.
like
(
BasePriceStrategyMonthEnt:
:
getCreateById
,
input
.
getCreateById
())
.
like
(
BasePriceStrategyMonthEnt:
:
getCreateByName
,
input
.
getCreateByName
())
.
eq
(
BasePriceStrategyMonthEnt:
:
getCreateTime
,
input
.
getCreateTime
())
.
like
(
BasePriceStrategyMonthEnt:
:
getModifyById
,
input
.
getModifyById
())
.
like
(
BasePriceStrategyMonthEnt:
:
getModifyByName
,
input
.
getModifyByName
())
.
eq
(
BasePriceStrategyMonthEnt:
:
getModifyTime
,
input
.
getModifyTime
())
.
like
(
BasePriceStrategyMonthEnt:
:
getStrategyId
,
input
.
getStrategyId
())
.
eq
(
BasePriceStrategyMonthEnt:
:
getStrategyMonth
,
input
.
getStrategyMonth
());
return
XMapperHelper
.
query
(
mapper
,
input
,
queryWrapper
,
QueryBasePriceStrategyMonthOutput
.
class
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePriceStrategyMonthOutput
>
dynamicQueryBasePriceStrategyMonth
(
XContext
context
,
CustomQueryInput
input
)
{
BasePriceStrategyMonthMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
return
XMapperHelper
.
query
(
mapper
,
input
,
BasePriceStrategyMonthEnt
.
class
,
QueryBasePriceStrategyMonthOutput
.
class
);
}
@XApiAnonymous
@XApiGet
public
XSingleResult
<
GetBasePriceStrategyMonthViewOutput
>
getBasePriceStrategyMonthView
(
XContext
context
,
GetBasePriceStrategyMonthViewInput
input
)
{
BasePriceStrategyMonthViewMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthViewMapper
.
class
);
BasePriceStrategyMonthView
record
=
new
BasePriceStrategyMonthView
();
XCopyUtils
.
copyObject
(
input
,
record
);
BasePriceStrategyMonthView
view
=
mapper
.
selectOne
(
record
);
if
(
view
==
null
)
{
return
XSingleResult
.
error
(
context
,
XError
.
NotFound
);
}
GetBasePriceStrategyMonthViewOutput
output
=
new
GetBasePriceStrategyMonthViewOutput
();
XCopyUtils
.
copyObject
(
view
,
output
);
return
XSingleResult
.
success
(
output
);
}
@XApiAnonymous
@XApiGet
public
XPageResult
<
QueryBasePriceStrategyMonthViewOutput
>
queryBasePriceStrategyMonthView
(
XContext
context
,
QueryBasePriceStrategyMonthViewInput
input
)
{
BasePriceStrategyMonthViewMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMonthViewMapper
.
class
);
BasePriceStrategyMonthView
record
=
new
BasePriceStrategyMonthView
();
XCopyUtils
.
copyObject
(
input
,
record
);
PageHelper
.
startPage
(
input
.
getPage
(),
input
.
getLimit
());
List
<
BasePriceStrategyMonthView
>
list
=
mapper
.
selectList
(
record
);
PageInfo
<
BasePriceStrategyMonthView
>
pageInfo
=
new
PageInfo
<>(
list
);
List
<
QueryBasePriceStrategyMonthViewOutput
>
outputs
=
XCopyUtils
.
copyNewList
(
pageInfo
.
getList
(),
QueryBasePriceStrategyMonthViewOutput
.
class
);
return
XPageResult
.
success
(
outputs
,
input
,
pageInfo
.
getTotal
());
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePriceStrategyService.java
View file @
64e6a598
...
@@ -3,14 +3,24 @@ package pps.core.base.service;
...
@@ -3,14 +3,24 @@ package pps.core.base.service;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
org.apache.commons.lang3.StringUtils
;
import
pps.core.base.entity.BasePriceStrategyDetailEnt
;
import
pps.core.base.entity.BasePriceStrategyEnt
;
import
pps.core.base.entity.BasePriceStrategyEnt
;
import
pps.core.base.entity.BasePriceStrategyMonthEnt
;
import
pps.core.base.entity.BasePriceStrategyView
;
import
pps.core.base.entity.BasePriceStrategyView
;
import
pps.core.base.mapper.BasePriceStrategyDetailMapper
;
import
pps.core.base.mapper.BasePriceStrategyMapper
;
import
pps.core.base.mapper.BasePriceStrategyMapper
;
import
pps.core.base.mapper.BasePriceStrategyMonthMapper
;
import
pps.core.base.mapper.BasePriceStrategyViewMapper
;
import
pps.core.base.mapper.BasePriceStrategyViewMapper
;
import
pps.core.base.service.data.base_price_strategy.*
;
import
pps.core.base.service.data.base_price_strategy.*
;
import
pps.core.base.service.data.base_price_strategy_detail.CreateBasePriceStrategyDetailInput
;
import
pps.core.base.service.data.base_price_strategy_month.CreateBasePriceStrategyMonthInput
;
import
pps.core.common.session.PpsUserSession
;
import
xstartup.annotation.XService
;
import
xstartup.annotation.XService
;
import
xstartup.annotation.XText
;
import
xstartup.base.XContext
;
import
xstartup.base.XContext
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.data.CustomQueryInput
;
import
xstartup.base.exception.XServiceException
;
import
xstartup.base.util.XCopyUtils
;
import
xstartup.base.util.XCopyUtils
;
import
xstartup.data.XPageResult
;
import
xstartup.data.XPageResult
;
import
xstartup.data.XServiceResult
;
import
xstartup.data.XServiceResult
;
...
@@ -20,19 +30,131 @@ import xstartup.feature.api.annotation.XApiAnonymous;
...
@@ -20,19 +30,131 @@ import xstartup.feature.api.annotation.XApiAnonymous;
import
xstartup.feature.api.annotation.XApiGet
;
import
xstartup.feature.api.annotation.XApiGet
;
import
xstartup.feature.api.annotation.XApiPost
;
import
xstartup.feature.api.annotation.XApiPost
;
import
xstartup.feature.mybatis.helper.XMapperHelper
;
import
xstartup.feature.mybatis.helper.XMapperHelper
;
import
xstartup.helper.XTransactionHelper
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.UUID
;
/**
* 市电峰谷配置模块
*
* @author ZWT
* @date 2023/08/24
*/
@XService
@XService
@XText
(
"市电峰谷配置模块"
)
public
class
BasePriceStrategyService
{
public
class
BasePriceStrategyService
{
/**
* 创建市电峰谷策略
*
* @param context 上下文
* @param input 输入
* @return {@link XServiceResult}
*/
@XApiAnonymous
@XApiAnonymous
@XApiPost
@XApiPost
@XText
(
"创建市电峰谷策略"
)
public
XServiceResult
createBasePriceStrategy
(
XContext
context
,
CreateBasePriceStrategyInput
input
)
{
public
XServiceResult
createBasePriceStrategy
(
XContext
context
,
CreateBasePriceStrategyInput
input
)
{
BasePriceStrategyMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMapper
.
class
);
// PpsUserSession session = context.getSession(PpsUserSession.class);
BasePriceStrategyEnt
entity
=
new
BasePriceStrategyEnt
();
PpsUserSession
session
=
new
PpsUserSession
();
XCopyUtils
.
copyObject
(
input
,
entity
);
session
.
setId
(
"123"
);
mapper
.
insert
(
entity
);
session
.
setUserName
(
"ceshi"
);
return
XServiceResult
.
OK
;
return
XTransactionHelper
.
begin
(
context
,
()
->
{
BasePriceStrategyMapper
mapper
=
context
.
getBean
(
BasePriceStrategyMapper
.
class
);
BasePriceStrategyEnt
entity
=
new
BasePriceStrategyEnt
();
XCopyUtils
.
copyObject
(
input
,
entity
);
this
.
setBasePriceStrategyEntDefault
(
entity
,
session
);
mapper
.
insert
(
entity
);
String
strategyId
=
entity
.
getId
();
List
<
CreateBasePriceStrategyDetailInput
>
inputDetails
=
input
.
getDetails
();
List
<
CreateBasePriceStrategyMonthInput
>
inputMonths
=
input
.
getMonths
();
if
(!
inputMonths
.
isEmpty
())
{
BasePriceStrategyMonthMapper
monthMapper
=
context
.
getBean
(
BasePriceStrategyMonthMapper
.
class
);
BasePriceStrategyDetailMapper
detailMapper
=
context
.
getBean
(
BasePriceStrategyDetailMapper
.
class
);
List
<
BasePriceStrategyMonthEnt
>
monthList
=
new
ArrayList
<>(
16
);
List
<
BasePriceStrategyDetailEnt
>
detailList
=
new
ArrayList
<>(
32
);
XCopyUtils
.
copyList
(
inputMonths
,
monthList
,
BasePriceStrategyMonthEnt
.
class
);
XCopyUtils
.
copyList
(
inputDetails
,
detailList
,
BasePriceStrategyDetailEnt
.
class
);
Integer
strategyMonth
;
for
(
BasePriceStrategyMonthEnt
monthEnt
:
monthList
)
{
this
.
setBasePriceStrategyMonthEntDefault
(
monthEnt
,
strategyId
,
session
);
monthMapper
.
insert
(
monthEnt
);
strategyMonth
=
monthEnt
.
getStrategyMonth
();
for
(
BasePriceStrategyDetailEnt
detailEnt
:
detailList
)
{
this
.
setBasePriceStrategyDetailEntDefault
(
detailEnt
,
strategyId
,
strategyMonth
,
session
);
detailMapper
.
insert
(
detailEnt
);
}
}
}
else
{
if
(!
inputDetails
.
isEmpty
())
{
throw
new
XServiceException
(
"请选择月份"
);
}
}
return
XServiceResult
.
OK
;
});
}
/**
* 设置市电峰谷当月明细配置默认值
*
* @param entity 实体
* @param strategyId 战略id
* @param strategyMonth 战略月
* @param session 会话
*/
private
void
setBasePriceStrategyDetailEntDefault
(
BasePriceStrategyDetailEnt
entity
,
String
strategyId
,
Integer
strategyMonth
,
PpsUserSession
session
)
{
Date
now
=
new
Date
();
entity
.
setId
(
UUID
.
randomUUID
().
toString
());
entity
.
setStrategyId
(
strategyId
);
entity
.
setStrategyMonth
(
strategyMonth
);
entity
.
setCreateById
(
session
.
getId
());
entity
.
setCreateByName
(
session
.
getUserName
());
entity
.
setCreateTime
(
now
);
entity
.
setModifyById
(
session
.
getId
());
entity
.
setModifyByName
(
session
.
getUserName
());
entity
.
setModifyTime
(
now
);
}
/**
* 设置市电峰谷月配置默认值
*
* @param entity 实体
* @param strategyId 战略id
* @param session 会话
*/
private
void
setBasePriceStrategyMonthEntDefault
(
BasePriceStrategyMonthEnt
entity
,
String
strategyId
,
PpsUserSession
session
)
{
Date
now
=
new
Date
();
entity
.
setStrategyId
(
strategyId
);
entity
.
setCreateById
(
session
.
getId
());
entity
.
setCreateByName
(
session
.
getUserName
());
entity
.
setCreateTime
(
now
);
entity
.
setModifyById
(
session
.
getId
());
entity
.
setModifyByName
(
session
.
getUserName
());
entity
.
setModifyTime
(
now
);
}
/**
* 设置市电峰谷策略默认值
*
* @param entity 实体
* @param session 会话
*/
private
void
setBasePriceStrategyEntDefault
(
BasePriceStrategyEnt
entity
,
PpsUserSession
session
)
{
String
id
=
entity
.
getId
();
Date
now
=
new
Date
();
String
userId
=
session
.
getId
();
String
userName
=
session
.
getUserName
();
if
(
StringUtils
.
isEmpty
(
id
))
{
entity
.
setCreateById
(
userId
);
entity
.
setCreateByName
(
userName
);
entity
.
setCreateTime
(
now
);
}
entity
.
setModifyById
(
userId
);
entity
.
setModifyByName
(
userName
);
entity
.
setModifyTime
(
now
);
}
}
@XApiAnonymous
@XApiAnonymous
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy/CreateBasePriceStrategyInput.java
View file @
64e6a598
package
pps.core.base.service.data.base_price_strategy
;
package
pps.core.base.service.data.base_price_strategy
;
import
jakarta.validation.Valid
;
import
lombok.Data
;
import
pps.core.base.service.data.base_price_strategy_detail.CreateBasePriceStrategyDetailInput
;
import
pps.core.base.service.data.base_price_strategy_month.CreateBasePriceStrategyMonthInput
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.List
;
/**
* 市电峰谷配置入参
*
* @author ZWT
* @date 2023/08/24
*/
@Data
public
class
CreateBasePriceStrategyInput
{
public
class
CreateBasePriceStrategyInput
{
@XText
(
"ID"
)
@XText
(
"ID"
)
private
String
id
;
private
String
id
;
...
@@ -44,108 +58,15 @@ public class CreateBasePriceStrategyInput {
...
@@ -44,108 +58,15 @@ public class CreateBasePriceStrategyInput {
@XText
(
"固定电价"
)
@XText
(
"固定电价"
)
private
BigDecimal
fixedElectricityPrice
;
private
BigDecimal
fixedElectricityPrice
;
public
String
getId
()
{
/**
return
this
.
id
;
* 月份入参
}
*/
@Valid
public
void
setId
(
String
value
)
{
private
List
<
CreateBasePriceStrategyMonthInput
>
months
;
this
.
id
=
value
;
}
/**
* 策略明细入参
public
Integer
getIsDeleted
()
{
*/
return
this
.
isDeleted
;
@Valid
}
private
List
<
CreateBasePriceStrategyDetailInput
>
details
;
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
getPolicyName
()
{
return
this
.
policyName
;
}
public
void
setPolicyName
(
String
value
)
{
this
.
policyName
=
value
;
}
public
String
getAreaCode
()
{
return
this
.
areaCode
;
}
public
void
setAreaCode
(
String
value
)
{
this
.
areaCode
=
value
;
}
public
Integer
getStrategyYear
()
{
return
this
.
strategyYear
;
}
public
void
setStrategyYear
(
Integer
value
)
{
this
.
strategyYear
=
value
;
}
public
Integer
getIsFixedPrice
()
{
return
this
.
isFixedPrice
;
}
public
void
setIsFixedPrice
(
Integer
value
)
{
this
.
isFixedPrice
=
value
;
}
public
BigDecimal
getFixedElectricityPrice
()
{
return
this
.
fixedElectricityPrice
;
}
public
void
setFixedElectricityPrice
(
BigDecimal
value
)
{
this
.
fixedElectricityPrice
=
value
;
}
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/CreateBasePriceStrategyDetailInput.java
View file @
64e6a598
package
pps.core.base.service.data.base_price_strategy_detail
;
package
pps.core.base.service.data.base_price_strategy_detail
;
import
jakarta.validation.constraints.NotBlank
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 策略明细入参
*
* @author ZWT
* @date 2023/08/24
*/
@Data
public
class
CreateBasePriceStrategyDetailInput
{
public
class
CreateBasePriceStrategyDetailInput
{
@XText
(
"ID"
)
@XText
(
"ID"
)
private
String
id
;
private
String
id
;
...
@@ -32,16 +43,19 @@ public class CreateBasePriceStrategyDetailInput {
...
@@ -32,16 +43,19 @@ public class CreateBasePriceStrategyDetailInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
@NotBlank
(
message
=
"时段类型不能为空"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
@XText
(
"开始时间"
)
@XText
(
"开始时间"
)
@NotNull
(
message
=
"开始时间不能为空"
)
private
Date
startTime
;
private
Date
startTime
;
@XText
(
"结束时间"
)
@XText
(
"结束时间"
)
@NotNull
(
message
=
"结束时间不能为空"
)
private
Date
endTime
;
private
Date
endTime
;
@XText
(
"电价"
)
@XText
(
"电价"
)
...
@@ -49,125 +63,4 @@ public class CreateBasePriceStrategyDetailInput {
...
@@ -49,125 +63,4 @@ public class CreateBasePriceStrategyDetailInput {
@XText
(
"内部结算价"
)
@XText
(
"内部结算价"
)
private
BigDecimal
internalSettlementPrice
;
private
BigDecimal
internalSettlementPrice
;
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
getStrategyId
()
{
return
this
.
strategyId
;
}
public
void
setStrategyId
(
String
value
)
{
this
.
strategyId
=
value
;
}
public
String
getStrategyMonthId
()
{
return
this
.
strategyMonthId
;
}
public
void
setStrategyMonthId
(
String
value
)
{
this
.
strategyMonthId
=
value
;
}
public
String
getPeriodTypeKey
()
{
return
this
.
periodTypeKey
;
}
public
void
setPeriodTypeKey
(
String
value
)
{
this
.
periodTypeKey
=
value
;
}
public
Date
getStartTime
()
{
return
this
.
startTime
;
}
public
void
setStartTime
(
Date
value
)
{
this
.
startTime
=
value
;
}
public
Date
getEndTime
()
{
return
this
.
endTime
;
}
public
void
setEndTime
(
Date
value
)
{
this
.
endTime
=
value
;
}
public
BigDecimal
getElectrovalence
()
{
return
this
.
electrovalence
;
}
public
void
setElectrovalence
(
BigDecimal
value
)
{
this
.
electrovalence
=
value
;
}
public
BigDecimal
getInternalSettlementPrice
()
{
return
this
.
internalSettlementPrice
;
}
public
void
setInternalSettlementPrice
(
BigDecimal
value
)
{
this
.
internalSettlementPrice
=
value
;
}
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/CreateBasePriceStrategyDetailOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class CreateBasePriceStrategyDetailOutput {
...
@@ -32,8 +32,8 @@ public class CreateBasePriceStrategyDetailOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class CreateBasePriceStrategyDetailOutput {
...
@@ -122,12 +122,12 @@ public class CreateBasePriceStrategyDetailOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DeleteBasePriceStrategyDetailInput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class DeleteBasePriceStrategyDetailInput {
...
@@ -32,8 +32,8 @@ public class DeleteBasePriceStrategyDetailInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class DeleteBasePriceStrategyDetailInput {
...
@@ -122,12 +122,12 @@ public class DeleteBasePriceStrategyDetailInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DeleteBasePriceStrategyDetailOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class DeleteBasePriceStrategyDetailOutput {
...
@@ -32,8 +32,8 @@ public class DeleteBasePriceStrategyDetailOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class DeleteBasePriceStrategyDetailOutput {
...
@@ -122,12 +122,12 @@ public class DeleteBasePriceStrategyDetailOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DynamicQueryBasePriceStrategyDetailInput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class DynamicQueryBasePriceStrategyDetailInput {
...
@@ -32,8 +32,8 @@ public class DynamicQueryBasePriceStrategyDetailInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class DynamicQueryBasePriceStrategyDetailInput {
...
@@ -122,12 +122,12 @@ public class DynamicQueryBasePriceStrategyDetailInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DynamicQueryBasePriceStrategyDetailOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class DynamicQueryBasePriceStrategyDetailOutput {
...
@@ -32,8 +32,8 @@ public class DynamicQueryBasePriceStrategyDetailOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class DynamicQueryBasePriceStrategyDetailOutput {
...
@@ -122,12 +122,12 @@ public class DynamicQueryBasePriceStrategyDetailOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/DynamicQueryBasePriceStrategyDetailViewOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class DynamicQueryBasePriceStrategyDetailViewOutput {
...
@@ -32,8 +32,8 @@ public class DynamicQueryBasePriceStrategyDetailViewOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class DynamicQueryBasePriceStrategyDetailViewOutput {
...
@@ -122,12 +122,12 @@ public class DynamicQueryBasePriceStrategyDetailViewOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailInput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailInput {
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailInput {
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailOutput {
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailOutput {
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailViewInput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailViewInput {
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailViewInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailViewInput {
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailViewInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/GetBasePriceStrategyDetailViewOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailViewOutput {
...
@@ -32,8 +32,8 @@ public class GetBasePriceStrategyDetailViewOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailViewOutput {
...
@@ -122,12 +122,12 @@ public class GetBasePriceStrategyDetailViewOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailInput.java
View file @
64e6a598
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailInput extends XPageInput {
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailInput extends XPageInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailInput extends XPageInput {
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailInput extends XPageInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailOutput.java
View file @
64e6a598
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailOutput extends XPageInput {
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailOutput extends XPageInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailOutput extends XPageInput {
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailOutput extends XPageInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailViewInput.java
View file @
64e6a598
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailViewInput extends XPageInput {
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailViewInput extends XPageInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailViewInput extends XPageInput {
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailViewInput extends XPageInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/QueryBasePriceStrategyDetailViewOutput.java
View file @
64e6a598
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailViewOutput extends XPageInput {
...
@@ -33,8 +33,8 @@ public class QueryBasePriceStrategyDetailViewOutput extends XPageInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailViewOutput extends XPageInput {
...
@@ -123,12 +123,12 @@ public class QueryBasePriceStrategyDetailViewOutput extends XPageInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/UpdateBasePriceStrategyDetailInput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class UpdateBasePriceStrategyDetailInput {
...
@@ -32,8 +32,8 @@ public class UpdateBasePriceStrategyDetailInput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class UpdateBasePriceStrategyDetailInput {
...
@@ -122,12 +122,12 @@ public class UpdateBasePriceStrategyDetailInput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_detail/UpdateBasePriceStrategyDetailOutput.java
View file @
64e6a598
...
@@ -32,8 +32,8 @@ public class UpdateBasePriceStrategyDetailOutput {
...
@@ -32,8 +32,8 @@ public class UpdateBasePriceStrategyDetailOutput {
@XText
(
"市电峰谷配置ID"
)
@XText
(
"市电峰谷配置ID"
)
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月
ID
"
)
@XText
(
"市电峰谷月"
)
private
String
strategyMonthId
;
private
Integer
strategyMonth
;
@XText
(
"时段类型key(字典获取)"
)
@XText
(
"时段类型key(字典获取)"
)
private
String
periodTypeKey
;
private
String
periodTypeKey
;
...
@@ -122,12 +122,12 @@ public class UpdateBasePriceStrategyDetailOutput {
...
@@ -122,12 +122,12 @@ public class UpdateBasePriceStrategyDetailOutput {
this
.
strategyId
=
value
;
this
.
strategyId
=
value
;
}
}
public
String
getStrategyMonthId
()
{
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
Id
;
return
this
.
strategyMonth
;
}
}
public
void
setStrategyMonth
Id
(
String
value
)
{
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
Id
=
value
;
this
.
strategyMonth
=
value
;
}
}
public
String
getPeriodTypeKey
()
{
public
String
getPeriodTypeKey
()
{
...
...
C09-base/pps-core-base/src/main/java/pps/core/base/service/data/base_price_strategy_month/CreateBasePriceStrategyMonthInput.java
View file @
64e6a598
package
pps.core.base.service.data.base_price_strategy_month
;
package
pps.core.base.service.data.base_price_strategy_month
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
import
xstartup.annotation.XText
;
import
xstartup.annotation.XText
;
import
java.util.Date
;
import
java.util.Date
;
import
java.math.BigDecimal
;
/**
* 月份入参
*
* @author ZWT
* @date 2023/08/24
*/
@Data
public
class
CreateBasePriceStrategyMonthInput
{
public
class
CreateBasePriceStrategyMonthInput
{
@XText
(
"ID"
)
@XText
(
"ID"
)
private
String
id
;
private
String
id
;
...
@@ -33,86 +42,6 @@ public class CreateBasePriceStrategyMonthInput {
...
@@ -33,86 +42,6 @@ public class CreateBasePriceStrategyMonthInput {
private
String
strategyId
;
private
String
strategyId
;
@XText
(
"市电峰谷月(1-12)"
)
@XText
(
"市电峰谷月(1-12)"
)
@NotNull
(
message
=
"月份不能为空"
)
private
Integer
strategyMonth
;
private
Integer
strategyMonth
;
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
getStrategyId
()
{
return
this
.
strategyId
;
}
public
void
setStrategyId
(
String
value
)
{
this
.
strategyId
=
value
;
}
public
Integer
getStrategyMonth
()
{
return
this
.
strategyMonth
;
}
public
void
setStrategyMonth
(
Integer
value
)
{
this
.
strategyMonth
=
value
;
}
}
}
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