Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5portal
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
管理员
jfV5portal
Commits
d19666d7
Commit
d19666d7
authored
Sep 17, 2018
by
罗绍泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日历代码更新
parent
8114d792
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
CalendarBusinessImpl.java
...pp/com/jw/app/business/calendar/CalendarBusinessImpl.java
+8
-0
userchoiceDAO.xml
src_jwapp/com/jw/app/business/userchoice/userchoiceDAO.xml
+3
-0
dataAction.java
src_standard/com/gaowj/standard/action/dataAction.java
+4
-6
No files found.
src_jwapp/com/jw/app/business/calendar/CalendarBusinessImpl.java
View file @
d19666d7
...
...
@@ -42,6 +42,10 @@ public class CalendarBusinessImpl implements CalendarBusiness {
}
}
}
else
{
//从当前时间开始去查找
query
.
put
(
"START_TIME"
,
new
Date
());
}
if
(
query
.
get
(
"END_TIME"
)
!=
null
)
{
try
{
query
.
put
(
"END_TIME"
,
new
Date
(
Long
.
valueOf
(
query
.
get
(
"END_TIME"
).
toString
())));
...
...
@@ -145,6 +149,10 @@ public class CalendarBusinessImpl implements CalendarBusiness {
}
}
}
else
{
//从当前时间开始去查找
query
.
put
(
"START_TIME"
,
new
Date
());
}
if
(
query
.
get
(
"END_TIME"
)
!=
null
)
{
try
{
query
.
put
(
"END_TIME"
,
new
Date
(
Long
.
valueOf
(
query
.
get
(
"END_TIME"
).
toString
())));
...
...
src_jwapp/com/jw/app/business/userchoice/userchoiceDAO.xml
View file @
d19666d7
...
...
@@ -169,6 +169,9 @@ from UICM_UNIT f where 1=1
<if
test=
"END_ORDER != null and END_ORDER != ''"
>
and f.ORDER_ID
<
= #{END_ORDER}
</if>
<if
test=
"NOT_NULL != null and NOT_NULL != ''"
>
and f.${NOT_NULL} is NOT NULL
</if>
order by f.ORDER_ID,f.ID_NUMBER
</select>
...
...
src_standard/com/gaowj/standard/action/dataAction.java
View file @
d19666d7
...
...
@@ -2,20 +2,19 @@ package com.gaowj.standard.action;
import
java.sql.SQLException
;
import
java.text.ParseException
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
net.sf.json.JSONObject
;
import
com.gaowj.business.StandardBusiness
;
import
com.gaowj.business.action.BasicAction
;
import
com.gaowj.business.comp.BusinessManager
;
import
com.gaowj.business.exception.BusinessException
;
import
com.gaowj.business.util.Page
;
import
com.gaowj.business.util.QueryParamUtil
;
import
com.gaowj.business.util.RequestUtils
;
import
com.gaowj.business.StandardBusiness
;
import
net.sf.json.JSONObject
;
public
class
dataAction
extends
BasicAction
{
...
...
@@ -246,4 +245,4 @@ public class dataAction extends BasicAction{
return
"json"
;
}
}
\ No newline at end of file
}
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