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
af98a783
Commit
af98a783
authored
Jul 19, 2021
by
wukaiqiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.beecode.cn:kunlun/xyst_dinas/xyst_dinas_backend into develop
parents
dbdaa14b
23738bf3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
30 deletions
+14
-30
DefaultFunctionTree.jmx
...m/beecode/inz/portal/functiontree/DefaultFunctionTree.jmx
+0
-14
PlanningCycleServiceImpl.java
.../dinas/biz/internal/service/PlanningCycleServiceImpl.java
+3
-3
DischargingController.java
.../com/xyst/dinas/production/web/DischargingController.java
+2
-2
DinasTypeProductionStatisticsAdvQuery.jmx
...tics/advanquery/DinasTypeProductionStatisticsAdvQuery.jmx
+1
-1
TransportRecordController.java
...m/xyst/dinas/transport/web/TransportRecordController.java
+0
-2
VehicleDriverUserController.java
...xyst/dinas/transport/web/VehicleDriverUserController.java
+8
-8
No files found.
backend/inz.basis/src/main/resources/com/beecode/inz/portal/functiontree/DefaultFunctionTree.jmx
View file @
af98a783
...
...
@@ -1642,20 +1642,6 @@
<m:icon>
iconfont icongongzuoliupeizhi1x
</m:icon>
</m:function-node>
<m:function-node>
<m:id>
587159b0-7e9b-4f0c-8296-1d670af6189f
</m:id>
<m:name>
enterpriseSettings
</m:name>
<m:title>
企业设置
</m:title>
<m:index>
8000
</m:index>
<m:license></m:license>
<m:privilege></m:privilege>
<m:role>
systemManagerRole
</m:role>
<m:function-definition>
<m:view>
function-enterpriseSettings
</m:view>
<m:view-config></m:view-config>
</m:function-definition>
<m:icon>
iconfont iconqiyeshezhi1x
</m:icon>
</m:function-node>
<m:function-node>
<m:id>
47f27d7f-eeb1-4485-87fc-e00ecfdf9995
</m:id>
<m:name>
billManage
</m:name>
<m:title>
报表设置
</m:title>
...
...
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/internal/service/PlanningCycleServiceImpl.java
View file @
af98a783
...
...
@@ -54,7 +54,8 @@ public class PlanningCycleServiceImpl implements PlanningCycleService{
public
UUID
getPlanningCycleObjBySum
(
String
planningCycle
,
Date
date
)
{
@Override
public
UUID
getPlanningCycleObjBySum
(
String
planningCycle
,
Date
date
)
{
PlanningCycleEnum
planningCycleType
=
null
;
if
(
PlanningCycleEnum
.
DAY
.
name
().
equalsIgnoreCase
(
planningCycle
))
{
planningCycleType
=
PlanningCycleEnum
.
DAY
;
...
...
@@ -66,6 +67,5 @@ public UUID getPlanningCycleObjBySum(String planningCycle,Date date) {
UUID
ID
=
planningCycleDao
.
getPlanningCycleObj
(
planningCycleType
,
date
).
getUuid
(
"id"
);
return
ID
;
}
}
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/web/DischargingController.java
View file @
af98a783
...
...
@@ -58,8 +58,8 @@ public class DischargingController {
public
ResponseObj
getListByCreatorPage
(
@RequestParam
(
name
=
"pageNo"
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
)
Integer
pageSize
,
@RequestParam
(
name
=
"startDate"
,
required
=
false
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
startDate
,
@RequestParam
(
name
=
"endDate"
,
required
=
false
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
endDate
,
@RequestParam
(
name
=
"startDate"
,
required
=
false
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
Date
startDate
,
@RequestParam
(
name
=
"endDate"
,
required
=
false
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
Date
endDate
,
@RequestParam
(
name
=
"creatorId"
,
required
=
false
)
UUID
creatorId
)
{
...
...
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/DinasTypeProductionStatisticsAdvQuery.jmx
View file @
af98a783
...
...
@@ -12,7 +12,7 @@
<sql-type>
SQL
</sql-type>
<sql>
SELECT
bdt.dinasTypeName as typeName,sum(dtd.dinasWeight)/1000 as weight, bdt.type as typeType
bdt.dinasTypeName as typeName,sum(dtd.dinasWeight)/1000
0
as weight, bdt.type as typeType
FROM DinasType as bdt
LEFT JOIN ProductionPlanReportAssociateddinasTypeDetail as dtd on bdt.id = dtd.dinasType
LEFT JOIN ProductionPlanReport AS ppr on dtd.master = ppr.id
...
...
backend/xyst.dinas.transport/src/main/java/com/xyst/dinas/transport/web/TransportRecordController.java
View file @
af98a783
...
...
@@ -91,6 +91,4 @@ public class TransportRecordController {
return
ResponseObj
.
success
(
"查询成功"
,
byId
);
}
}
backend/xyst.dinas.transport/src/main/java/com/xyst/dinas/transport/web/VehicleDriverUserController.java
View file @
af98a783
...
...
@@ -120,10 +120,10 @@ public class VehicleDriverUserController {
@RequestParam
(
value
=
"vehicleId"
,
required
=
false
)
UUID
vehicleId
,
@RequestParam
(
value
=
"isOrderByPlanCycleType"
,
required
=
false
,
defaultValue
=
"true"
)
Boolean
isOrderByPlanCycleType
)
{
boolean
a
=
(
startDate
==
null
&&
endDate
!=
null
)
||
(
startDate
!=
null
&&
endDate
==
null
);
if
(
a
)
{
return
ResponseObj
.
error
(
"请同时输入开始和结束时间"
);
}
//
boolean a = (startDate == null && endDate != null) || (startDate != null && endDate == null);
//
if (a) {
//
return ResponseObj.error("请同时输入开始和结束时间");
//
}
DriverUser
driverUser
=
DriverUserContextHolder
.
getContext
().
getDriverUser
();
Page
<
KObject
>
kObject
=
vehicleDriverUserService
.
pageByVehicleId
(
pageNo
,
pageSize
,
status
,
vehicleId
,
startDate
,
endDate
,
isOrderByPlanCycleType
,
driverUser
.
getId
());
...
...
@@ -162,10 +162,10 @@ public class VehicleDriverUserController {
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@RequestParam
(
name
=
"endDate"
,
required
=
false
)
Date
endDate
,
@RequestParam
(
value
=
"vehicleId"
,
required
=
false
)
UUID
vehicleId
)
{
boolean
a
=
(
startDate
==
null
&&
endDate
!=
null
)
||
(
startDate
!=
null
&&
endDate
==
null
);
if
(
a
)
{
return
ResponseObj
.
error
(
"请同时输入开始和结束时间"
);
}
//
boolean a = (startDate == null && endDate != null) || (startDate != null && endDate == null);
//
if (a) {
//
return ResponseObj.error("请同时输入开始和结束时间");
//
}
DriverUser
driverUser
=
DriverUserContextHolder
.
getContext
().
getDriverUser
();
Page
<
Map
<
String
,
Object
>>
kObject
=
vehicleDriverUserService
.
transportRecordPage
(
pageNo
,
pageSize
,
vehicleId
,
startDate
,
endDate
,
driverUser
.
getId
());
...
...
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