Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
njzsb
Project
Project
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
徐州
njzsb
Commits
afc2cb28
Commit
afc2cb28
authored
Sep 06, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
0f2fd3b1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
181 additions
and
267 deletions
+181
-267
PaymentVoucher_ZslxdList.jsp
...pages/account/paymentVoucher/PaymentVoucher_ZslxdList.jsp
+7
-3
Jfzm_List.jsp
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
+53
-62
Rfxm_List.jsp
WebRoot/WEB-INF/pages/rfxm/Rfxm_List.jsp
+2
-2
Rfxm_Sfxx_Add.jsp
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_Add.jsp
+4
-4
Rfxm_Sfxx_Detail.jsp
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_Detail.jsp
+1
-1
Rfxm_Sfxx_View.jsp
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_View.jsp
+25
-45
JfzmAction.java
src/com/jshx/jfzm/web/JfzmAction.java
+56
-109
PaymentItemHisAction.java
src/com/jshx/paymentItemHis/web/PaymentItemHisAction.java
+1
-0
struts-rfxm.xml
src/com/jshx/rfxm/conf/struts-rfxm.xml
+6
-4
RfxmAction.java
src/com/jshx/rfxm/web/RfxmAction.java
+26
-37
No files found.
WebRoot/WEB-INF/pages/account/paymentVoucher/PaymentVoucher_ZslxdList.jsp
View file @
afc2cb28
...
...
@@ -22,7 +22,7 @@
async
:
false
,
success
:
function
(
data
){
if
(
data
.
result
){
$
.
messager
.
confirm
(
"提示"
,
"
确认要生成凭证吗?
"
,
function
(
result
)
{
$
.
messager
.
confirm
(
"提示"
,
"
请核实费用到账是否正确
"
,
function
(
result
)
{
if
(
result
){
$
.
ajax
({
url
:
"${ctx}/jsp/paymentItemHis/scpz.action"
,
...
...
@@ -31,9 +31,13 @@
data
:{
id
:
row_Id
},
async
:
false
success
:
function
(
data
)
{
if
(
data
.
result
)
{
printZslxd
(
row_Id
,
data
.
zslxdbh
,
data
.
mjyj
)
}
}
});
$
.
messager
.
alert
(
"提示"
,
"操作成功"
)
search_paymentItemHis
();
}
...
...
WebRoot/WEB-INF/pages/jfzm/Jfzm_List.jsp
View file @
afc2cb28
...
...
@@ -470,49 +470,18 @@
var
dt
=
new
Date
();
parent
.
addTab
(
"jktzsTab"
,
"缴款通知书"
,
"/jsp/zzhxm/zzhxmJktzsDetail.action?zzhxm.id="
+
row_Id
+
"&dt="
+
dt
.
getTime
(),
850
,
700
);
}
function
del
()
{
var
rows
=
$
(
'#pagination'
).
datagrid
(
'getSelections'
);
var
ids
=
""
;
for
(
var
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
ids
+=
rows
[
i
].
id
+
"|"
;
}
if
(
rows
.
length
<
1
)
{
$
.
messager
.
alert
(
'提示'
,
'至少选择一项删除!'
);
}
else
{
$
.
messager
.
confirm
(
"删除"
,
"确定要删除吗?"
,
function
(
result
)
{
if
(
result
)
{
$
.
ajax
({
url
:
"sdjdDel.action"
,
type
:
'post'
,
dataType
:
'json'
,
async
:
false
,
data
:
{
ids
:
ids
},
error
:
function
()
{
$
.
messager
.
alert
(
'错误'
,
'删除时出错!'
);
},
success
:
function
(
data
)
{
if
(
data
.
result
)
{
$
.
messager
.
alert
(
'提示'
,
'删除成功!'
);
search_sdjd
();
}
else
{
$
.
messager
.
alert
(
'错误'
,
'删除时出错!'
);
}
}
});
}
});
}
}
function
search_zzhxm
()
{
function
search_rfxm
()
{
var
queryParams
=
{
"jfzm.xmdm"
:
$
(
"#xmdm"
).
val
(),
"jfzm.ghxkzbh"
:
$
(
"#ghxkzbh"
).
val
(),
"jfzm.ghxmbh"
:
$
(
"#ghxmbh"
).
val
(),
"jfzm.xxylbbh"
:
$
(
"#xxylbbh"
).
val
()
"rfxm.xkzh"
:
$
(
"#xkzh"
).
val
(),
"rfxm.zslxdbh"
:
$
(
"#zslxdbh"
).
val
(),
"rfxm.xxylbbh"
:
$
(
"#xxylbbh"
).
val
(),
"rfxm.xmbh"
:
$
(
"#xmbh"
).
val
(),
"rfxm.jsdwmc"
:
$
(
"#jsdwmc"
).
val
(),
"rfxm.gcxmmc"
:
$
(
"#gcxmmc"
).
val
(),
"rfxm.paymentLink"
:
$
(
"#paymentLink"
).
val
(),
"rfxm.isRfyz"
:
$
(
"#isRfyz"
).
val
(),
};
console
.
info
(
queryParams
);
$
(
'#pagination'
).
datagrid
(
'options'
).
queryParams
=
queryParams
;
$
(
'#pagination'
).
datagrid
(
'clearSelections'
);
$
(
"#pagination"
).
datagrid
(
'load'
);
...
...
@@ -581,13 +550,18 @@
$
(
function
()
{
$
(
'#pagination'
).
datagrid
(
$
.
extend
(
window
.
dg_cm_pp_2
,
{
title
:
'
项目管理
列表'
,
title
:
'
缴费核查项目
列表'
,
url
:
'jflist.action'
,
queryParams
:
{
"jfzm.ghxmbh"
:
$
(
"#ghxmbh"
).
val
(),
"jfzm.xxylbbh"
:
$
(
"#xxylbbh"
).
val
(),
"jfzm.xmdm"
:
$
(
"#xmdm"
).
val
(),
"jfzm.ghxkzbh"
:
$
(
"#ghxkzbh"
).
val
(),
queryParams
:{
"rfxm.xkzh"
:
$
(
"#xkzh"
).
val
(),
"rfxm.zslxdbh"
:
$
(
"#zslxdbh"
).
val
(),
"rfxm.xxylbbh"
:
$
(
"#xxylbbh"
).
val
(),
"rfxm.xmbh"
:
$
(
"#xmbh"
).
val
(),
"rfxm.jsdwmc"
:
$
(
"#jsdwmc"
).
val
(),
"rfxm.gcxmmc"
:
$
(
"#gcxmmc"
).
val
(),
"rfxm.paymentLink"
:
$
(
"#paymentLink"
).
val
(),
"rfxm.isRfyz"
:
$
(
"#isRfyz"
).
val
(),
"rfxm.mjyj"
:
$
(
"#mjyj"
).
val
()
},
frozenColumns
:
[[
// {field:'id',checkbox:true}
...
...
@@ -597,6 +571,24 @@
{
field
:
'op1'
,
title
:
'关联操作'
,
width
:
300
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
var
result
=
""
;
if
(
rec
.
paymentLink
==
'3'
)
{
result
+=
"<a class='btn_01_mini' style='opacity: 0.5'>同步施工许可<b></b></a>
\n
"
;
}
else
{
result
+=
"<a class='btn_01_mini' onclick=asy_tb('"
+
rec
.
xxylbbh
+
"')>同步施工许可<b></b></a>
\n
"
;
}
if
(
rec
.
paymentLink
==
'3'
)
{
if
(
rec
.
isSl
)
{
return
" <a class='btn_01_mini' style='opacity: 0.5' >打印缴费凭证<b></b></a>
\n
"
+
" <a class='btn_01_mini edit' onclick=one_book()>一般缴款书<b></b></a>"
;
}
else
{
return
"<a class='btn_01_mini' onclick=asy_tb('"
+
rec
.
xxylbbh
+
"')>同步施工许可<b></b></a>
\n
"
+
" <a class='btn_01_mini' onclick=doPrint('"
+
rec
.
id
+
"')>打印缴费凭证<b></b></a>
\n
"
+
" <a class='btn_01_mini' onclick=one_book()>一般缴款书<b></b></a>"
;
}
}
if
(
rec
.
isSl
||
rec
.
paymentLink
!=
'3'
)
{
return
" <a class='btn_01_mini' onclick=doPrint('"
+
rec
.
id
+
"')>打印缴费凭证<b></b></a>
\n
"
+
" <a class='btn_01_mini edit' style='opacity: 0.5' onclick=one_book()>一般缴款书<b></b></a>"
;
...
...
@@ -614,9 +606,9 @@
{
field
:
'xkzh'
,
title
:
'规划许可证号'
,
width
:
186
,
align
:
'center'
},
{
field
:
'xmdm'
,
title
:
'缴费环节'
,
width
:
150
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
if
(
rec
.
payment
_l
ink
==
1
)
{
if
(
rec
.
payment
L
ink
==
1
)
{
return
"施工许可前"
;
}
else
if
(
rec
.
payment
_l
ink
==
3
)
{
}
else
if
(
rec
.
payment
L
ink
==
3
)
{
return
"30日内"
;
}
else
{
return
""
;
...
...
@@ -626,7 +618,7 @@
},
{
field
:
'zsfw'
,
title
:
'二级统计单位'
,
width
:
186
,
align
:
'center'
},
{
field
:
'is_rfyz'
,
title
:
'人防是否用章'
,
width
:
150
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
if
(
rec
.
is
_r
fyz
==
1
)
{
if
(
rec
.
is
R
fyz
==
1
)
{
return
"是"
;
}
else
{
return
"否"
;
...
...
@@ -660,35 +652,34 @@
<table
width=
"100%"
>
<tr>
<th
width=
"15%"
>
规划许可证编号
</th>
<td
width=
"35%"
><input
name=
"
jfzm.ghxkzbh"
id=
"ghxkzb
h"
value=
""
type=
"text"
></td>
<td
width=
"35%"
><input
name=
"
rfxm.xkzh"
id=
"xkz
h"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
缴费凭证编号
</th>
<td
width=
"35%"
><input
name=
"
jfzm.xmdm"
id=
"xmdm
"
value=
""
type=
"text"
></td>
<td
width=
"35%"
><input
name=
"
rfxm.zslxdbh"
id=
"zslxdbh
"
value=
""
type=
"text"
></td>
</tr>
<tr>
<th
width=
"15%"
>
信息表编号
</th>
<td
width=
"35%"
><input
name=
"
jfz
m.xxylbbh"
id=
"xxylbbh"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
信息
一览
表编号
</th>
<td
width=
"35%"
><input
name=
"
rfx
m.xxylbbh"
id=
"xxylbbh"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
规划项目编号
</th>
<td
width=
"35%"
><input
name=
"
jfzm.ghxmbh"
id=
"gh
xmbh"
value=
""
type=
"text"
></td>
<td
width=
"35%"
><input
name=
"
rfxm.xmbh"
id=
"
xmbh"
value=
""
type=
"text"
></td>
</tr>
<tr>
<th
width=
"15%"
>
建设单位名称
</th>
<td
width=
"35%"
><input
name=
"
jfz
m.jsdwmc"
id=
"jsdwmc"
value=
""
type=
"text"
></td>
<td
width=
"35%"
><input
name=
"
rfx
m.jsdwmc"
id=
"jsdwmc"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
工程项目名称
</th>
<td
width=
"35%"
><input
name=
"
jfz
m.gcxmmc"
id=
"gcxmmc"
value=
""
type=
"text"
></td>
<td
width=
"35%"
><input
name=
"
rfx
m.gcxmmc"
id=
"gcxmmc"
value=
""
type=
"text"
></td>
</tr>
<tr>
<th
width=
"15%"
>
缴费环节
</th>
<td
width=
"35%"
>
<select
name=
"
jfzm.accountStatus"
id=
"accountStatus
"
>
<select
name=
"
rfxm.paymentLink"
id=
"paymentLink
"
>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
无
</option>
<option
value=
"1"
>
施工许可前
</option>
<option
value=
"2"
>
30日
</option>
</select>
</td>
<th
width=
"15%"
>
人防是否用章
</th>
<th
width=
"15%"
>
人防
费
是否用章
</th>
<td
width=
"35%"
>
<select
name=
"
jfzm.is_rfyz"
id=
"accountStatus
"
>
<select
name=
"
isRfyz"
id=
"isRfyz
"
>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"1"
>
是
</option>
...
...
@@ -697,7 +688,7 @@
</tr>
<tr>
<td
colspan=
"4"
align=
"center"
>
<a
href=
"###"
class=
"btn_01"
onclick=
"search_
jfz
m()"
>
查询
<b></b></a>
<a
href=
"###"
class=
"btn_01"
onclick=
"search_
rfx
m()"
>
查询
<b></b></a>
<!-- <a href="###" class="btn_01" onclick="search_sdjd(1)" >已复核项目<b></b></a> -->
<a
href=
"###"
class=
"btn_01"
onclick=
"clear_form(document.myform);"
>
清空
<b></b></a>
</td>
...
...
WebRoot/WEB-INF/pages/rfxm/Rfxm_List.jsp
View file @
afc2cb28
...
...
@@ -214,9 +214,9 @@
{
field
:
'jfhj'
,
title
:
'缴费环节'
,
width
:
150
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
if
(
rec
.
payment
_l
ink
==
1
)
{
if
(
rec
.
payment
L
ink
==
1
)
{
return
"施工许可前"
;
}
else
if
(
rec
.
payment
_l
ink
==
3
)
{
}
else
if
(
rec
.
payment
L
ink
==
3
)
{
return
"30日内"
;
}
else
{
return
""
;
...
...
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_Add.jsp
View file @
afc2cb28
...
...
@@ -316,8 +316,8 @@
</td>
</tr>
<tr>
<th
width=
"15"
>
缴费承诺环节
</th>
<c:if
test=
"${rxfm.paymentLink
!= 1 && rxfm.paymentLink != 3
}"
>
<th
width=
"15"
>
缴费承诺环节
${rfxm.paymentLink == 1}
</th>
<c:if
test=
"${rxfm.paymentLink
== null
}"
>
<td
width=
"35%"
>
<input
type=
"radio"
class=
"rd"
name=
"rfxmsfxx.cnjfhj"
value=
"施工许可前"
checked=
"checked"
/>
施工许可前
...
...
@@ -330,12 +330,12 @@
<input
type=
"radio"
name=
"rfxmsfxx.tqjn"
value=
"1"
checked=
"checked"
/>
是
</td>
</c:if>
<c:if
test=
"${r
xfm.paymentLink =='1'
}"
>
<c:if
test=
"${r
fxm.paymentLink == 1
}"
>
<td
width=
"35%"
>
施工许可前
</td>
</c:if>
<c:if
test=
"${r
xfm.paymentLink =='3'
}"
>
<c:if
test=
"${r
fxm.paymentLink == 3
}"
>
<td
width=
"35%"
>
30日内
</td>
...
...
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_Detail.jsp
View file @
afc2cb28
...
...
@@ -69,7 +69,7 @@
<%--
查看收费信息
--%>
function
view
(
row_id
)
{
var
dt
=
new
Date
();
createSimpleWindow
(
"win_rfxmsfxx"
,
"查看收费信息"
,
"${ctx}/jsp/rfxm/rfxmSfxxView.action?ids="
+
row_id
+
"&dt="
+
dt
.
getTime
(),
900
,
600
);
createSimpleWindow
(
"win_rfxmsfxx
view
"
,
"查看收费信息"
,
"${ctx}/jsp/rfxm/rfxmSfxxView.action?ids="
+
row_id
+
"&dt="
+
dt
.
getTime
(),
900
,
600
);
}
<%--
下载缴费信息附件
--%>
...
...
WebRoot/WEB-INF/pages/rfxm/Rfxm_Sfxx_View.jsp
View file @
afc2cb28
...
...
@@ -45,51 +45,31 @@
var
beizhu
=
$
(
"#sfxxfhyj"
).
val
();
$
(
"#flag"
).
val
(
flag
);
// document.myform1.action="rfxmSfxxReview.action";
// document.myform1.submit();
// parent.reloadDate();
// parent.close_win('win_rfxmsfxx');
$
.
ajax
({
async
:
false
,
url
:
"${ctx}/jsp/rfxm/rfxmSfxxReview.action"
,
type
:
'post'
,
dataType
:
'json'
,
async
:
false
,
data
:
{
"rfxmsfxx.id"
:
sfxxid
,
"rfxmsfxx.sfxxfhyj"
:
beizhu
,
"flag"
:
flag
},
error
:
function
()
{
$
.
messager
.
alert
(
'错误'
,
'提交出错!'
);
},
success
:
function
(
data
)
{
if
(
data
.
result
)
{
parent
.
reloadData
();
$
.
messager
.
alert
(
'提示'
,
data
.
message
,
"info"
,
function
()
{
parent
.
close_win
(
'win_rfxmsfxx'
);
});
/!*return;*!/
}
else
{
abc
=
"0"
;
$
.
messager
.
alert
(
'提示'
,
data
.
message
);
getTabWindow
().
reloadDate
();
// $("#yzjg").html('添加失败!'+data.message);
setTimeout
(
function
()
{
parent
.
close_win
(
'win_rfxmsfxx'
);
},
2000
);
if
(
flag
==
'2'
)
{
//通过
$
.
ajax
({
async
:
false
,
url
:
"${ctx}/jsp/rfxm/rfxmSfxxReviewCheck.action"
,
type
:
'post'
,
dataType
:
'json'
,
async
:
false
,
data
:
{
"rfxmsfxx.id"
:
sfxxid
},
error
:
function
()
{
$
.
messager
.
alert
(
'错误'
,
'校验出错!'
);
},
success
:
function
(
data
)
{
if
(
!
data
.
result
)
{
$
.
messager
.
alert
(
'提示'
,
data
.
message
);
}
else
{
document
.
myform1
.
action
=
"rfxmSfxxReview.action"
;
document
.
myform1
.
submit
();
}
}
});
}
else
{
document
.
myform1
.
action
=
"rfxmSfxxReview.action"
;
document
.
myform1
.
submit
();
}
parent
.
close_win
(
'win_rfxmsfxx'
);
return
;
}
// window.location.reload();
var
curTabWin
=
null
;
var
curTab
=
parent
.
$
(
'#main-center'
).
tabs
(
'getSelected'
);
if
(
curTab
&&
curTab
.
find
(
'iframe'
).
length
>
0
)
{
curTabWin
=
curTab
.
find
(
'iframe'
)[
0
].
contentWindow
;
}
var
childWin
=
document
.
getElementById
(
'iframe_sfxxTab'
).
contentWindow
;
childWin
.
reloadDate
();
// parent.close_win("win_rfxmsfxx");
// parent.document.frames["sfxxTab"].reloadDate();
// reloadDate();
// /!*setTimeout(parent.close_win('win_rfxmsfxx'),1000);*!/
}
});
}
//验证收费信息
...
...
@@ -399,7 +379,7 @@
<a
href=
"#"
class=
"btn_01"
type=
"button"
onclick=
"review(this, 2)"
>
通过
<b></b></a>
<a
href=
"#"
class=
"btn_01"
type=
"button"
onclick=
"review(this, 1)"
>
退回
<b></b></a>
</c:if>
<a
href=
"#"
class=
"btn_01"
onclick=
"parent.close_win('win_rfxmsfxx');"
>
关闭
<b></b></a>
<a
href=
"#"
class=
"btn_01"
onclick=
"parent.close_win('win_rfxmsfxx
view
');"
>
关闭
<b></b></a>
</td>
</tr>
</table>
...
...
src/com/jshx/jfzm/web/JfzmAction.java
View file @
afc2cb28
...
...
@@ -49,20 +49,12 @@ public class JfzmAction extends BaseAction {
*/
private
Pagination
pagination
;
String
ghxkzbh
;
String
jfpzbh
;
String
xxbbh
;
String
ghxmbh
;
String
jsdwmc
;
String
gcxmmc
;
String
jfhj
;
String
hczt
;
String
id
;
Rfxm
rfxm
=
new
Rfxm
();
Xmxxb
xmxxb
=
new
Xmxxb
();
PaymentItemHis
paymentItemHis
=
new
PaymentItemHis
();
String
id
;
/**
...
...
@@ -75,32 +67,50 @@ public class JfzmAction extends BaseAction {
if
(
pagination
==
null
)
pagination
=
new
Pagination
(
this
.
getRequest
());
if
(!
TextUtils
.
isEmpty
(
ghxkzbh
)){
paraMap
.
put
(
"xkzh"
,
"%"
+
ghxkzbh
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
jfpzbh
))
{
paraMap
.
put
(
"zslxdbh"
,
"%"
+
jfpzbh
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
xxbbh
)){
paraMap
.
put
(
"xxbbh"
,
"%"
+
xxbbh
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
ghxmbh
)){
paraMap
.
put
(
"xmbh"
,
"%"
+
ghxmbh
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
jsdwmc
)){
paraMap
.
put
(
"jsdw"
,
"%"
+
jsdwmc
+
"%"
);
}
if
(
null
!=
rfxm
){
//设置查询条件,开发人员可以在此增加过滤条件
/**
* "rfxm.xkzh": $("#xkzh").val(),
* "rfxm.zslxdbh": $("#zslxdbh").val(),
* "rfxm.xxylbbh": $("#xxylbbh").val(),
* "rfxm.xmbh": $("#xmbh").val(),
* "rfxm.jsdwmc": $("#jsdwmc").val(),
* "rfxm.gcxmmc": $("#gcxmmc").val(),
* "rfxm.paymentLink": $("#paymentLink").val(),
* "rfxm.isRfyz": $("#isRfyz").val(),
* "rfxm.mjyj": $("#mjyj").val()
*/
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getXkzh
())){
paraMap
.
put
(
"xkzh"
,
"%"
+
rfxm
.
getXkzh
().
trim
()
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getZslxdbh
())){
paraMap
.
put
(
"zslxdbh"
,
"%"
+
rfxm
.
getZslxdbh
().
trim
()
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getXxylbbh
())){
paraMap
.
put
(
"xxylbbh"
,
"%"
+
rfxm
.
getXxylbbh
().
trim
()
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getXmbh
())){
paraMap
.
put
(
"xmbh"
,
"%"
+
rfxm
.
getXmbh
().
trim
()
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getJsdwmc
())){
paraMap
.
put
(
"jsdwmc"
,
"%"
+
rfxm
.
getJsdwmc
().
trim
()
+
"%"
);
}
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getGcxmmc
())){
paraMap
.
put
(
"gcxmmc"
,
"%"
+
rfxm
.
getGcxmmc
().
trim
()
+
"%"
);
}
if
(
rfxm
.
getPaymentLink
()
!=
null
&&
rfxm
.
getPaymentLink
()
>
0
){
paraMap
.
put
(
"paymentLink"
,
rfxm
.
getPaymentLink
());
}
if
(
rfxm
.
getIsRfyz
()
!=
null
){
paraMap
.
put
(
"isRfyz"
,
rfxm
.
getIsRfyz
());
}
if
(!
TextUtils
.
isEmpty
(
rfxm
.
getMjyj
())){
paraMap
.
put
(
"mjyj"
,
rfxm
.
getMjyj
().
trim
());
}
if
(!
TextUtils
.
isEmpty
(
gcxmmc
)){
paraMap
.
put
(
"jsdd"
,
"%"
+
gcxmmc
+
"%"
);
}
//TODO 缴费环节、核查状态筛选
if
(!
this
.
getLoginUser
().
getIsSuperAdmin
()){
String
dwdm
=
zsdwService
.
getDwdm
(
this
.
getLoginUserDepartmentId
());
paraMap
.
put
(
"dwdm"
,
dwdm
);
...
...
@@ -112,18 +122,19 @@ public class JfzmAction extends BaseAction {
//此处添加需要转换的一维代码,key是一维代码在数据对象中的属性名,value是一维代码的codeId
config
.
registerJsonValueProcessor
(
String
.
class
,
new
CodeJsonValueProcessor
(
codeMap
));
// final String filter = "isCwyz|id|slbh|isfdx|dwmc|xmmc|mjyj|dkxmslh|zsdw|dkmj|csmj|ptyjmj|ptyjje|ptymje|ptymmj|rfyjmj|rfyjje|rfymmj|rfymje|xqyjje|xqymmj|xqymje|xqyjmj|byyjmj|byyjje|byymmj|byymje|zyjje|zymje|warnFlag|accountbankId|lockFlag|xmbzj|zslxdbh|ECN|xmxxb|xmxxb.xxylb|xmxxb.";
// if (filter != null && filter.length() > 1) {
// config.setJsonPropertyFilter(new PropertyFilter() {
// public boolean apply(Object source, String name, Object value) {
// if (filter.indexOf(name + "|") != -1)
// return false;
// else
// return true;
// }
// });
// }
pagination
=
rfxmService
.
findByPage
(
pagination
,
paraMap
);
for
(
int
i
=
0
;
i
<
pagination
.
list
.
size
();
i
++)
{
Rfxm
r
=
(
Rfxm
)
pagination
.
list
.
get
(
i
);
//TODO 1,判断是否显示同步按钮 2,判断是否置灰
boolean
showTb
;
boolean
showDy
;
boolean
showYb
;
boolean
enableTb
;
boolean
enableDy
;
boolean
enableYb
;
}
convObjectToJson
(
pagination
,
config
);
}
...
...
@@ -223,70 +234,6 @@ public class JfzmAction extends BaseAction {
this
.
pagination
=
pagination
;
}
public
String
getGhxkzbh
()
{
return
ghxkzbh
;
}
public
void
setGhxkzbh
(
String
ghxkzbh
)
{
this
.
ghxkzbh
=
ghxkzbh
;
}
public
String
getJfpzbh
()
{
return
jfpzbh
;
}
public
void
setJfpzbh
(
String
jfpzbh
)
{
this
.
jfpzbh
=
jfpzbh
;
}
public
String
getXxbbh
()
{
return
xxbbh
;
}
public
void
setXxbbh
(
String
xxbbh
)
{
this
.
xxbbh
=
xxbbh
;
}
public
String
getGhxmbh
()
{
return
ghxmbh
;
}
public
void
setGhxmbh
(
String
ghxmbh
)
{
this
.
ghxmbh
=
ghxmbh
;
}
public
String
getJsdwmc
()
{
return
jsdwmc
;
}
public
void
setJsdwmc
(
String
jsdwmc
)
{
this
.
jsdwmc
=
jsdwmc
;
}
public
String
getGcxmmc
()
{
return
gcxmmc
;
}
public
void
setGcxmmc
(
String
gcxmmc
)
{
this
.
gcxmmc
=
gcxmmc
;
}
public
String
getJfhj
()
{
return
jfhj
;
}
public
void
setJfhj
(
String
jfhj
)
{
this
.
jfhj
=
jfhj
;
}
public
String
getHczt
()
{
return
hczt
;
}
public
void
setHczt
(
String
hczt
)
{
this
.
hczt
=
hczt
;
}
public
String
getId
()
{
return
id
;
}
...
...
src/com/jshx/paymentItemHis/web/PaymentItemHisAction.java
View file @
afc2cb28
...
...
@@ -291,6 +291,7 @@ public class PaymentItemHisAction extends BaseAction
model
.
setIsCwyz
(
"0"
);
model
.
setZslxdbh
(
paymentItemHisService
.
getPzbh
()
+
1
+
""
);
//取出历史最大 + 1
paymentItemHisService
.
update
(
model
);
this
.
getResponse
().
getWriter
().
println
(
"{\"result\":true,\"zslxdbh\":\""
+
model
.
getZslxdbh
()
+
"\",\"mjyj\":\""
+
model
.
getMjyj
()
+
"\"}"
);
}
/**
...
...
src/com/jshx/rfxm/conf/struts-rfxm.xml
View file @
afc2cb28
...
...
@@ -71,11 +71,13 @@
</action>
<!-- 复核收费信息,返回Json数据 -->
<action
name=
"rfxmSfxxReview"
class=
"com.jshx.rfxm.web.RfxmAction"
method=
"rfxmSfxxReview"
>
<!-- <interceptor-ref name="tokenInterceptor" />--
>
<!-- <interceptor-ref name="coreStack" />--
>
<result
name=
"reload"
type=
"redirect"
>
/common/successToSelf.jsp?windowId=win_rfxmsfxx
2
</result>
<!-- <result name="invalid.token">/invalid.jsp</result>--
>
<interceptor-ref
name=
"tokenInterceptor"
/
>
<interceptor-ref
name=
"coreStack"
/
>
<result
name=
"reload"
type=
"redirect"
>
/common/successToSelf.jsp?windowId=win_rfxmsfxx
view
</result>
<result
name=
"invalid.token"
>
/invalid.jsp
</result
>
</action>
<action
name=
"rfxmSfxxReviewCheck"
class=
"com.jshx.rfxm.web.RfxmAction"
method=
"rfxmSfxxReviewCheck"
></action>
<!-- 收费列表查询,返回Json数据 -->
<action
name=
"rfxmSfView"
class=
"com.jshx.rfxm.web.RfxmAction"
method=
"sfView"
>
</action>
...
...
src/com/jshx/rfxm/web/RfxmAction.java
View file @
afc2cb28
...
...
@@ -1508,54 +1508,39 @@ public class RfxmAction extends BaseAction
this
.
getResponse
().
getWriter
().
println
(
"{\"result\":"
+
reviewTag
+
",\"message\":\""
+
message
+
"!"
+
"\"}"
);
}
}
public
void
rfxmSfxxReviewCheck
()
throws
IOException
{
RfxmSfxx
sfxx
=
rfxmSfxxService
.
getById
(
rfxmsfxx
.
getId
());
boolean
result
=
false
;
String
message
;
if
(
sfxx
.
getSfxxjbr
().
equals
(
this
.
getLoginUser
().
getDisplayName
()))
{
message
=
"不允许复核自己添加的费用"
;
}
else
{
result
=
true
;
message
=
"OK"
;
}
this
.
getResponse
().
getWriter
().
println
(
"{\"result\":"
+
result
+
",\"message\":\""
+
message
+
"!"
+
"\"}"
);
}
/**
* 复核收费信息
*/
public
void
rfxmSfxxReview
()
throws
IOException
{
String
message
=
""
;
boolean
reviewFlag
=
false
;
public
String
rfxmSfxxReview
()
throws
IOException
{
if
(
StringUtils
.
isNotBlank
(
flag
)
&&
null
!=
rfxmsfxx
)
{
RfxmSfxx
sfxx
=
rfxmSfxxService
.
getById
(
rfxmsfxx
.
getId
());
//已生成缴款通知书的则允许复核,如有需要放开此段注释.
/*
Integer statusCnjfhj = sfxx.getStatusCnjfhj();
if (statusCnjfhj == 1) {
message = "已生成缴款通知书不允许修改!";
this.getResponse().getWriter().println("{\"result\":false,\"message\":\""+message+"\"}");
return null;
}
*/
if
(
"2"
.
equalsIgnoreCase
(
flag
))
{
//通过
if
(
sfxx
.
getSfxxjbr
().
equals
(
this
.
getLoginUser
().
getDisplayName
()))
{
message
=
"不允许复核自己添加的费用"
;
reviewFlag
=
false
;
}
else
{
sfxx
.
setStatusJBFH
(
2
);
sfxx
.
setFhTime
(
new
Date
());
sfxx
.
setSfxxfhr
(
this
.
getLoginUser
().
getDisplayName
());
if
(
StringUtils
.
isNotBlank
(
rfxmsfxx
.
getSfxxfhyj
())){
sfxx
.
setSfxxfhyj
(
rfxmsfxx
.
getSfxxfhyj
());
}
message
=
"复核通过"
;
reviewFlag
=
true
;
sfxx
.
setStatusJBFH
(
2
);
sfxx
.
setFhTime
(
new
Date
());
sfxx
.
setSfxxfhr
(
this
.
getLoginUser
().
getDisplayName
());
if
(
StringUtils
.
isNotBlank
(
rfxmsfxx
.
getSfxxfhyj
())){
sfxx
.
setSfxxfhyj
(
rfxmsfxx
.
getSfxxfhyj
());
}
}
else
if
(
"1"
.
equalsIgnoreCase
(
flag
)){
rfxmSfxxService
.
update
(
sfxx
);
}
else
{
//退回
rfxmSfxxService
.
deleteWithFlag
(
sfxx
.
getId
());
message
=
"退回成功"
;
reviewFlag
=
true
;
}
else
{
message
=
"操作失败,请刷新页面再试"
;
}
try
{
if
(
reviewFlag
)
rfxmSfxxService
.
update
(
sfxx
);
}
catch
(
Exception
e
)
{
message
=
"操作失败,请稍后再试"
;
}
this
.
getResponse
().
getWriter
().
println
(
"{\"result\":"
+
reviewFlag
+
",\"message\":\""
+
message
+
"!"
+
"\"}"
);
}
//
return RELOAD;
return
RELOAD
;
}
public
String
jktzsView
()
throws
IOException
{
...
...
@@ -1971,6 +1956,10 @@ public class RfxmAction extends BaseAction
rfxmsfxx
.
setJbTime
(
new
Date
());
rfxmsfxx
.
setStatusJBFH
(
0
);
rfxm
=
rfxmService
.
getById
(
rfxm
.
getId
());
if
(
rfxm
.
getPaymentLink
()
==
null
&&
rfxmsfxx
.
getCnjfhj
()
!=
null
)
{
//如果项目没有缴费环节,则收费处可以补充
rfxm
.
setPaymentLink
(
rfxmsfxx
.
getCnjfhj
().
contains
(
"30"
)
?
3
:
1
);
rfxmService
.
update
(
rfxm
);
}
rfxmsfxx
.
setZslxdbh
(
rfxm
.
getZslxdbh
());
rfxmSfxxService
.
save
(
rfxmsfxx
);
// }
...
...
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