Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV4platform
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
管理员
jfV4platform
Commits
53b0e594
Commit
53b0e594
authored
Aug 08, 2018
by
周添尉
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
08765610
63009933
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
10 deletions
+32
-10
unitTab.js
WebContent/jwapp/pages/unit/js/unitTab.js
+0
-0
unitDetail.jsp
WebContent/jwapp/pages/unit/unitDetail.jsp
+14
-0
dzzd.xls
WebContent/uploadFile/apps/compare/dzzd.xls
+0
-0
PushDataUtils.java
src_jwapp/com/jw/app/pushData/util/PushDataUtils.java
+1
-0
actAction.java
src_jwapp/com/jw/app/unit/action/actAction.java
+10
-9
actAction.java
src_jwapp/com/jw/app/user/action/actAction.java
+7
-1
No files found.
WebContent/jwapp/pages/unit/js/unitTab.js
View file @
53b0e594
This diff is collapsed.
Click to expand it.
WebContent/jwapp/pages/unit/unitDetail.jsp
View file @
53b0e594
...
...
@@ -19,6 +19,20 @@
</td>
</tr>
<tr>
<td style="width: 10%" class="tableStyleLable">
<span>英文名称:</span>
</td>
<td style="width: 40%">
<input class="easyui-textbox" id="NAME_EN" name="FIELD_NAME_EN" data-options="required:true" style="width:98%" value="${is_row.NAME_EN}"/>
</td>
<td style="width: 10%" class="tableStyleLable">
<span>英文简称:</span>
</td>
<td style="width: 40%">
<input class="easyui-textbox" id="NAME_ABBR" name="FIELD_NAME_ABBR" data-options="required:true" style="width:98%" value="${is_row.NAME_ABBR}"/>
</td>
</tr>
<tr>
<td class="tableStyleLable">
<span>上级单位:</span>
</td>
...
...
WebContent/uploadFile/apps/compare/
对照字典
.xls
→
WebContent/uploadFile/apps/compare/
dzzd
.xls
View file @
53b0e594
File moved
src_jwapp/com/jw/app/pushData/util/PushDataUtils.java
View file @
53b0e594
...
...
@@ -85,6 +85,7 @@ public class PushDataUtils {
dataMap
.
put
(
"DELETE_FLAG"
,
data
.
get
(
"DELETE_FLAG"
));
dataMap
.
put
(
"PARENT_UNITID"
,
data
.
get
(
"PARENT_UNITID"
));
dataMap
.
put
(
"UNIT_PATH"
,
data
.
get
(
"UNIT_PATH"
));
dataMap
.
put
(
"NAME_EN"
,
data
.
get
(
"NAME_EN"
));
dataMap
.
put
(
"NAME_ABBR"
,
data
.
get
(
"NAME_ABBR"
));
// List<Map<String,Object>> listData = new ArrayList<Map<String,Object>>();
// listData.add(dataMap);
JSONObject
jsonObject
=
new
JSONObject
();
...
...
src_jwapp/com/jw/app/unit/action/actAction.java
View file @
53b0e594
...
...
@@ -832,6 +832,7 @@ public class actAction extends BasicAction {
th.start();*/
PushDataUtils
pd
=
new
PushDataUtils
();
String
jsondata
=
pd
.
getPushUnitData
(
data
);
System
.
out
.
println
(
"-------data"
+
jsondata
);
//推送加密字段判断
if
(
url
.
get
(
"PUSH_ENCRYPT"
)
==
null
||
url
.
get
(
"PUSH_ENCRYPT"
).
toString
().
equals
(
"0"
)){
//不加密
...
...
@@ -857,12 +858,18 @@ public class actAction extends BasicAction {
(
String
)
url
.
get
(
"PUSH_PASS"
),
jsondata
,
(
String
)
url
.
get
(
"PUSH_UNIT_URL"
),
(
String
)
url
.
get
(
"PUSH_ENCODE"
));
System
.
out
.
println
(
"输出: 推送的url:"
+
url
.
get
(
"PUSH_URL"
));
System
.
out
.
println
(
"输出: 推送的url:"
+
url
.
get
(
"PUSH_U
NIT_U
RL"
));
Map
<
String
,
Object
>
m
=
null
;
int
is_name
=
0
;
if
(
ret
!=
null
&&
ret
.
trim
().
length
()
>
0
)
{
m
=
jsonFormatMap
.
getMap
(
ret
);
if
(
m
.
get
(
"NAME"
)
instanceof
Integer
){
is_name
=
(
Integer
)
m
.
get
(
"NAME"
);
}
else
{
is_name
=
Integer
.
valueOf
((
String
)
m
.
get
(
"NAME"
));
}
}
if
(
m
!=
null
&&
m
.
get
(
"NAME"
)
!=
null
&&
Integer
.
parseInt
((
String
)
m
.
get
(
"NAME"
))
>
0
)
{
if
(
m
!=
null
&&
m
.
get
(
"NAME"
)
!=
null
&&
is_name
>
0
)
{
System
.
out
.
println
(
"用户["
+
url
.
get
(
"EMNAME"
)
+
"]推送成功!"
);
// 将成功记录插入表
Map
<
String
,
Object
>
pushData
=
new
HashMap
<
String
,
Object
>();
...
...
@@ -1327,13 +1334,6 @@ public class actAction extends BasicAction {
String
uploadold
=
request
.
getParameter
(
"uploadold"
);
if
(
new
File
(
uploadpath
+
File
.
separator
+
uploadnew
).
exists
()==
false
){
uploadpath
=
request
.
getSession
().
getServletContext
().
getRealPath
(
uploadpath
);
try
{
// uploadold = new String(uploadold.getBytes("iso8859-1"), "utf-8");
uploadold
=
new
String
((
uploadold
).
getBytes
(
"gbk"
),
"iso8859-1"
);
}
catch
(
UnsupportedEncodingException
e1
)
{
// TODO Auto-generated catch block
e1
.
printStackTrace
();
}
//查对照数据
UnitBusiness
business
=
BusinessManager
.
getBusiness
(
UnitBusiness
.
class
);
List
<
Map
<
String
,
Object
>>
list
=
business
.
list_unit_ldap_deletekey
();
...
...
@@ -1393,6 +1393,7 @@ public class actAction extends BasicAction {
e
.
printStackTrace
();
}
//设置response
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setContentType
(
"application/octet-stream"
);
response
.
addHeader
(
"Content-Disposition"
,
"attachment; filename=\""
+
uploadold
+
"\""
);
...
...
src_jwapp/com/jw/app/user/action/actAction.java
View file @
53b0e594
...
...
@@ -1303,10 +1303,16 @@ public class actAction extends BasicAction {
(
String
)
url
.
get
(
"PUSH_ENCODE"
));
System
.
out
.
println
(
"输出: 推送的url:"
+
url
.
get
(
"PUSH_URL"
));
Map
<
String
,
Object
>
m
=
null
;
int
is_name
=
0
;
if
(
ret
!=
null
&&
ret
.
trim
().
length
()
>
0
)
{
m
=
jsonFormatMap
.
getMap
(
ret
);
if
(
m
.
get
(
"NAME"
)
instanceof
Integer
){
is_name
=
(
Integer
)
m
.
get
(
"NAME"
);
}
else
{
is_name
=
Integer
.
valueOf
((
String
)
m
.
get
(
"NAME"
));
}
}
if
(
m
!=
null
&&
m
.
get
(
"NAME"
)
!=
null
&&
Integer
.
parseInt
((
String
)
m
.
get
(
"NAME"
))
>
0
)
{
if
(
m
!=
null
&&
m
.
get
(
"NAME"
)
!=
null
&&
is_name
>
0
)
{
System
.
out
.
println
(
"用户["
+
url
.
get
(
"EMNAME"
)
+
"]推送成功!"
);
// 将成功记录插入表
Map
<
String
,
Object
>
pushData
=
new
HashMap
<
String
,
Object
>();
...
...
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