Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
9f53c23c
Commit
9f53c23c
authored
Jun 04, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
价格行情趋势图 修改少一天的问题 砂石类型趋势图增加砂石种类的类型字段
parent
a865cf29
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
8 deletions
+19
-8
PriceAdjustmentDaoImpl.java
...xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
+1
-1
PriceAdjustmentController.java
...a/com/xyst/dinas/price/web/PriceAdjustmentController.java
+1
-2
DinasTypeParent.java
...ava/com/xyst/dinas/production/entity/DinasTypeParent.java
+8
-0
ProductionPlanReportDaoImpl.java
.../production/internal/dao/ProductionPlanReportDaoImpl.java
+2
-0
ProductionPlanReportServiceImpl.java
...ion/internal/service/ProductionPlanReportServiceImpl.java
+2
-0
SafeLog.hbm.xml
...xyst.dinas.safe/src/main/resources/config/SafeLog.hbm.xml
+1
-1
TransportRecord.mk
...n/model/com/xyst/dinas/transport/query/TransportRecord.mk
+4
-4
No files found.
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
View file @
9f53c23c
...
@@ -481,7 +481,7 @@ public class PriceAdjustmentDaoImpl extends AbstractBaseDao implements PriceAdju
...
@@ -481,7 +481,7 @@ public class PriceAdjustmentDaoImpl extends AbstractBaseDao implements PriceAdju
startValue
=
forValue
.
get
(
dinasTypeId
+
stationId
.
toString
());
startValue
=
forValue
.
get
(
dinasTypeId
+
stationId
.
toString
());
}
else
{
}
else
{
if
(
null
!=
adjustmentStartDate
){
if
(
null
!=
adjustmentStartDate
){
startDate
=
adjustmentStartDate
.
toInstant
().
atZone
(
ZoneId
.
systemDefault
()).
toLocalDate
();
startDate
=
adjustmentStartDate
.
toInstant
().
atZone
(
ZoneId
.
systemDefault
()).
toLocalDate
()
.
plusDays
(-
1
)
;
}
else
{
}
else
{
startDate
=
nowDate
;
startDate
=
nowDate
;
}
}
...
...
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/web/PriceAdjustmentController.java
View file @
9f53c23c
...
@@ -174,7 +174,7 @@ public class PriceAdjustmentController {
...
@@ -174,7 +174,7 @@ public class PriceAdjustmentController {
}
}
KObject
priceAdjustment
=
priceAdjustmentService
.
validateByStationId
(
id
);
KObject
priceAdjustment
=
priceAdjustmentService
.
validateByStationId
(
id
);
if
(
null
!=
priceAdjustment
){
if
(
null
!=
priceAdjustment
){
return
ResponseObj
.
error
(
"有正在审批的数据,不可新建"
,
priceAdjustment
);
return
ResponseObj
.
error
(
"有正在审批
或审批不通过
的数据,不可新建"
,
priceAdjustment
);
}
}
return
ResponseObj
.
success
(
"可以新增"
);
return
ResponseObj
.
success
(
"可以新增"
);
...
@@ -230,7 +230,6 @@ public class PriceAdjustmentController {
...
@@ -230,7 +230,6 @@ public class PriceAdjustmentController {
* 数据相同时候的提示
* 数据相同时候的提示
* @return
* @return
*/
*/
@GetMapping
(
"getSameMessageById"
)
@GetMapping
(
"getSameMessageById"
)
public
ResponseObj
getSameById
(
@RequestParam
(
"id"
)
UUID
id
){
public
ResponseObj
getSameById
(
@RequestParam
(
"id"
)
UUID
id
){
KObject
byId
=
priceAdjustmentService
.
getById
(
id
);
KObject
byId
=
priceAdjustmentService
.
getById
(
id
);
...
...
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/entity/DinasTypeParent.java
View file @
9f53c23c
...
@@ -10,8 +10,16 @@ public class DinasTypeParent {
...
@@ -10,8 +10,16 @@ public class DinasTypeParent {
private
UUID
dinasTypeId
;
private
UUID
dinasTypeId
;
private
String
dinasTypeName
;
private
String
dinasTypeName
;
private
Integer
typeType
;
private
List
<
TimeValueParentEntity
>
timeValueParentEntityList
;
private
List
<
TimeValueParentEntity
>
timeValueParentEntityList
;
public
Integer
getTypeType
()
{
return
typeType
;
}
public
void
setTypeType
(
Integer
typeType
)
{
this
.
typeType
=
typeType
;
}
public
UUID
getDinasTypeId
()
{
public
UUID
getDinasTypeId
()
{
return
dinasTypeId
;
return
dinasTypeId
;
...
...
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/internal/dao/ProductionPlanReportDaoImpl.java
View file @
9f53c23c
...
@@ -270,6 +270,8 @@ public class ProductionPlanReportDaoImpl extends AbstractBaseDao implements Prod
...
@@ -270,6 +270,8 @@ public class ProductionPlanReportDaoImpl extends AbstractBaseDao implements Prod
add
.
add
(
Projections
.
alias
(
Projections
.
groupProperty
(
"dinasType.dinasTypeName"
),
"dinasTypeName"
));
add
.
add
(
Projections
.
alias
(
Projections
.
groupProperty
(
"dinasType.dinasTypeName"
),
"dinasTypeName"
));
add
.
add
(
Projections
.
alias
(
add
.
add
(
Projections
.
alias
(
Projections
.
groupProperty
(
"dinasType.id"
),
"dinasTypeId"
));
Projections
.
groupProperty
(
"dinasType.id"
),
"dinasTypeId"
));
add
.
add
(
Projections
.
alias
(
Projections
.
groupProperty
(
"dinasType.type"
),
"typeType"
));
}
}
if
(!
CollectionUtils
.
isEmpty
(
ids
))
{
if
(!
CollectionUtils
.
isEmpty
(
ids
))
{
...
...
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/internal/service/ProductionPlanReportServiceImpl.java
View file @
9f53c23c
...
@@ -289,6 +289,7 @@ public class ProductionPlanReportServiceImpl implements ProductionPlanReportServ
...
@@ -289,6 +289,7 @@ public class ProductionPlanReportServiceImpl implements ProductionPlanReportServ
UUID
productionLineId
=
UUID
.
fromString
(
stringObjectMap
.
get
(
"productionLineId"
).
toString
());
UUID
productionLineId
=
UUID
.
fromString
(
stringObjectMap
.
get
(
"productionLineId"
).
toString
());
UUID
dinasTypeId
=
UUID
.
fromString
(
stringObjectMap
.
get
(
"dinasTypeId"
).
toString
());
UUID
dinasTypeId
=
UUID
.
fromString
(
stringObjectMap
.
get
(
"dinasTypeId"
).
toString
());
String
dinasTypeName
=
stringObjectMap
.
get
(
"dinasTypeName"
).
toString
();
String
dinasTypeName
=
stringObjectMap
.
get
(
"dinasTypeName"
).
toString
();
String
typeType
=
stringObjectMap
.
get
(
"typeType"
).
toString
();
String
productionLineName
=
stringObjectMap
.
get
(
"productionLineName"
).
toString
();
String
productionLineName
=
stringObjectMap
.
get
(
"productionLineName"
).
toString
();
Double
sumDinasWeight
=
Double
.
parseDouble
(
stringObjectMap
.
get
(
"sumDinasWeight"
).
toString
());
Double
sumDinasWeight
=
Double
.
parseDouble
(
stringObjectMap
.
get
(
"sumDinasWeight"
).
toString
());
...
@@ -301,6 +302,7 @@ public class ProductionPlanReportServiceImpl implements ProductionPlanReportServ
...
@@ -301,6 +302,7 @@ public class ProductionPlanReportServiceImpl implements ProductionPlanReportServ
DinasTypeParent
productionLineEchart
=
new
DinasTypeParent
();
DinasTypeParent
productionLineEchart
=
new
DinasTypeParent
();
productionLineEchart
.
setDinasTypeId
(
dinasTypeId
);
productionLineEchart
.
setDinasTypeId
(
dinasTypeId
);
productionLineEchart
.
setDinasTypeName
(
dinasTypeName
);
productionLineEchart
.
setDinasTypeName
(
dinasTypeName
);
productionLineEchart
.
setTypeType
(
Integer
.
parseInt
(
typeType
));
productionLineEchart
.
setTimeValueParentEntityList
(
new
ArrayList
<>());
productionLineEchart
.
setTimeValueParentEntityList
(
new
ArrayList
<>());
dinasTypeMap
.
put
(
dinasTypeId
,
productionLineEchart
);
dinasTypeMap
.
put
(
dinasTypeId
,
productionLineEchart
);
dinasTypeParents
.
add
(
productionLineEchart
);
dinasTypeParents
.
add
(
productionLineEchart
);
...
...
backend/xyst.dinas.safe/src/main/resources/config/SafeLog.hbm.xml
View file @
9f53c23c
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</column>
</column>
</property>
</property>
<property
name=
"approvalTime"
type=
"timestamp"
not-null=
"
tru
e"
>
<property
name=
"approvalTime"
type=
"timestamp"
not-null=
"
fals
e"
>
<column
name=
"approval_time"
>
<column
name=
"approval_time"
>
<comment>
审批时间
</comment>
<comment>
审批时间
</comment>
</column>
</column>
...
...
backend/xyst.dinas.transport/src/main/model/com/xyst/dinas/transport/query/TransportRecord.mk
View file @
9f53c23c
...
@@ -8,23 +8,23 @@
...
@@ -8,23 +8,23 @@
<description></description>
<description></description>
</header>
</header>
<content>
<content>
<customQuery id='
c3040cd8-5faa-4f83-bdf7-d2251dd884c7
'>
<customQuery id='
d78b6275-39f8-41fa-8d89-cd6502d9493b
'>
<kclass>com.xyst.dinas.transport.datamodel.TransportRecord</kclass>
<kclass>com.xyst.dinas.transport.datamodel.TransportRecord</kclass>
<authorityItem></authorityItem>
<authorityItem></authorityItem>
<innerScene title='全部'>
<innerScene title='全部'>
<id>
9e4f14fa-0db7-41ba-ba85-9586572bdcd8
</id>
<id>
73c09a52-f23b-469f-a79c-33c51dddd0c3
</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<defaultExecute></defaultExecute>
<hide></hide>
<hide></hide>
</innerScene>
</innerScene>
<innerScene title='已废弃'>
<innerScene title='已废弃'>
<id>
fe7934d2-0cd6-4f50-a961-2938b741af6a
</id>
<id>
782edfab-6610-4afe-a76f-0404beb2f88e
</id>
<javaImplement>com.beecode.inz.common.scene.DefaultDiscardScene</javaImplement>
<javaImplement>com.beecode.inz.common.scene.DefaultDiscardScene</javaImplement>
<defaultExecute></defaultExecute>
<defaultExecute></defaultExecute>
<hide></hide>
<hide></hide>
</innerScene>
</innerScene>
<innerScene title='权限过滤'>
<innerScene title='权限过滤'>
<id>
6fce9908-901b-491c-9508-5deb75e8aadc
</id>
<id>
f017a930-c663-4d7d-b6f4-a4e81f8c396d
</id>
<javaImplement>com.xyst.dinas.biz.scene.XystDinasCommonAllScene</javaImplement>
<javaImplement>com.xyst.dinas.biz.scene.XystDinasCommonAllScene</javaImplement>
<defaultExecute>true</defaultExecute>
<defaultExecute>true</defaultExecute>
<hide>true</hide>
<hide>true</hide>
...
...
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