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
f84c2e6a
Commit
f84c2e6a
authored
Aug 23, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用文件
parent
f6774eef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
13 additions
and
1211 deletions
+13
-1211
Rfdz_Add.jsp
WebRoot/WEB-INF/pages/rfdz/Rfdz_Add.jsp
+0
-0
Rfdz_Detail.jsp
WebRoot/WEB-INF/pages/rfdz/Rfdz_Detail.jsp
+0
-0
Rfdz_Edit.jsp
WebRoot/WEB-INF/pages/rfdz/Rfdz_Edit.jsp
+0
-0
Rfdz_List.jsp
WebRoot/WEB-INF/pages/rfdz/Rfdz_List.jsp
+0
-197
Rfdz_View.jsp
WebRoot/WEB-INF/pages/rfdz/Rfdz_View.jsp
+0
-0
sql-map-rfdz.xml
src/com/jshx/rfdz/conf/sql-map-rfdz.xml
+0
-73
struts-rfdz.xml
src/com/jshx/rfdz/conf/struts-rfdz.xml
+0
-57
RfdzDao.java
src/com/jshx/rfdz/dao/RfdzDao.java
+0
-58
RfdzDaoImpl.java
src/com/jshx/rfdz/dao/impl/RfdzDaoImpl.java
+0
-81
Rfdz.java
src/com/jshx/rfdz/entity/Rfdz.java
+0
-175
RfdzService.java
src/com/jshx/rfdz/service/RfdzService.java
+0
-72
RfdzServiceImpl.java
src/com/jshx/rfdz/service/impl/RfdzServiceImpl.java
+0
-137
RfdzAction.java
src/com/jshx/rfdz/web/RfdzAction.java
+0
-345
RfxmAction.java
src/com/jshx/rfxm/web/RfxmAction.java
+13
-16
No files found.
WebRoot/WEB-INF/pages/rfdz/Rfdz_Add.jsp
deleted
100644 → 0
View file @
f6774eef
This diff is collapsed.
Click to expand it.
WebRoot/WEB-INF/pages/rfdz/Rfdz_Detail.jsp
deleted
100644 → 0
View file @
f6774eef
This diff is collapsed.
Click to expand it.
WebRoot/WEB-INF/pages/rfdz/Rfdz_Edit.jsp
deleted
100644 → 0
View file @
f6774eef
This diff is collapsed.
Click to expand it.
WebRoot/WEB-INF/pages/rfdz/Rfdz_List.jsp
deleted
100644 → 0
View file @
f6774eef
<
%@
page
language=
"java"
pageEncoding=
"UTF-8"
isELIgnored=
"false"
%
>
<
%@
include
file=
"/common/header.jsp"
%
>
<
%@
taglib
prefix=
"activiti"
uri=
"/activiti/tags"
%
>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
南京征收管理系统
</title>
<
%@
include
file=
"/common/jsLib.jsp"
%
>
<script>
$
(
function
()
{
window
.
top
[
"Refresh_CloudHomePage_Content"
]
=
function
()
{
window
.
location
.
reload
();
}
})
function
reloadDate
()
{
$
(
'#pagination'
).
datagrid
(
'clearSelections'
);
search_xmlb
();
}
// 查看
function
view
(
row_Id
)
{
var
dt
=
new
Date
();
createSimpleWindow
(
"win_zzhxm"
,
"查看详细信息"
,
"/jsp/rfdz/RfdzView.action?zzhxm.id="
+
row_Id
+
"&dt="
+
dt
.
getTime
(),
850
,
700
);
}
function
view_detail
(
row_Id
)
{
var
dt
=
new
Date
();
// parent.addTab("sfxxTab", "收费信息", "收费信息.html?zzhxm.id=" + row_Id + "&dt=" + dt.getTime(), 850, 700);
parent
.
addTab
(
"rfdzTab"
,
"收费信息"
,
"/jsp/rfdz/RfdzSfxxDetail.action?paymentItem.id="
+
row_Id
+
"&dt="
+
dt
.
getTime
(),
850
,
700
);
}
function
search_xmlb
()
{
var
queryParams
=
{
"ghxkzbh"
:
$
(
"#ghxkzbh"
).
val
(),
"jfpzbh"
:
$
(
"#jfpzbh"
).
val
(),
"xxbbh"
:
$
(
"#xxbbh"
).
val
(),
"ghxmbh"
:
$
(
"#ghxmbh"
).
val
(),
"jsdwmc"
:
$
(
"#jsdwmc"
).
val
(),
"gcxmmc"
:
$
(
"#gcxmmc"
).
val
(),
"jfhj"
:
$
(
"#jfhj"
).
val
(),
"hczt"
:
$
(
"#hczt"
).
val
()
};
console
.
info
(
queryParams
);
$
(
'#pagination'
).
datagrid
(
'options'
).
queryParams
=
queryParams
;
$
(
'#pagination'
).
datagrid
(
'clearSelections'
);
$
(
"#pagination"
).
datagrid
(
'load'
);
}
$
(
function
()
{
$
(
'#pagination'
).
datagrid
(
$
.
extend
(
window
.
dg_cm_pp_2
,
{
title
:
'人防费核查项目列表'
,
url
:
'rflist.action'
,
queryParams
:
{
"ghxkzbh"
:
$
(
"#ghxkzbh"
).
val
(),
"jfpzbh"
:
$
(
"#jfpzbh"
).
val
(),
"xxbbh"
:
$
(
"#xxbbh"
).
val
(),
"ghxmbh"
:
$
(
"#ghxmbh"
).
val
(),
"jsdwmc"
:
$
(
"#jsdwmc"
).
val
(),
"gcxmmc"
:
$
(
"#gcxmmc"
).
val
(),
"jfhj"
:
$
(
"#jfhj"
).
val
(),
"hczt"
:
$
(
"#hczt"
).
val
()
},
frozenColumns
:
[[
// {field:'id',checkbox:true}
]],
striped
:
true
,
columns
:
[[
{
field
:
'op'
,
title
:
'操作'
,
width
:
100
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
return
"<a class='btn_01_mini' onclick=view('"
+
rec
.
id
+
"') >查看<b></b></a>"
}
},
{
field
:
'op1'
,
title
:
'关联操作'
,
width
:
130
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
return
"<a class='btn_01_mini' onclick=view_detail('"
+
rec
.
id
+
"') >收费信息<b></b></a>"
;
}
},
{
field
:
'dwmc'
,
title
:
'建设单位名称'
,
width
:
186
,
align
:
'center'
},
{
field
:
'xmmc'
,
title
:
'工程项目名称'
,
width
:
186
,
align
:
'center'
},
{
field
:
'op2'
,
title
:
'工程项目地点'
,
width
:
186
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
return
"<span>"
+
rec
.
xmxxb
.
jzdwdz
+
"</span>"
;
}
},
{
field
:
'op3'
,
title
:
'规划许可证号'
,
width
:
186
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
return
"<span>"
+
rec
.
xmxxb
.
xkzh
+
"</span>"
;
}
},
{
field
:
'op4'
,
title
:
'缴费环节'
,
width
:
150
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
if
(
rec
.
xmxxb
.
paymentLink
==
1
)
{
return
"<span>施工许可前</span>"
;
}
else
if
(
rec
.
xmxxb
.
paymentLink
==
3
)
{
return
"<span>30日内</span>"
;
}
return
"<span></span>"
;
}
},
{
field
:
'op5'
,
title
:
'二级统计单位'
,
width
:
186
,
align
:
'center'
,
formatter
:
function
(
value
,
rec
)
{
return
"<span>"
+
rec
.
xmxxb
.
zsfw
+
"</span>"
;
}
},
{
field
:
'xmdm'
,
title
:
'核查状态'
,
width
:
150
,
align
:
'center'
},
{
field
:
'ECN'
,
title
:
'缴款通知书编号'
,
width
:
186
,
align
:
'center'
},
{
field
:
'zslxdbh'
,
title
:
'缴款凭证编号'
,
width
:
186
,
align
:
'center'
},
]],
}));
});
</script>
</head>
<body>
<div
class=
"page_content"
>
<div
class=
"box_01 submitdata"
>
<div
class=
"inner12px"
>
<div
class=
"cell boxBmargin12"
>
<table
width=
"100%"
>
<tr>
<th
width=
"15%"
>
规划许可证编号
</th>
<td
width=
"35%"
><input
name=
"ghxkzbh"
id=
"ghxkzbh"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
缴费凭证编号
</th>
<td
width=
"35%"
><input
name=
"jfpzbh"
id=
"jfpzbh"
value=
""
type=
"text"
></td>
</tr>
<tr>
<th
width=
"15%"
>
信息表编号
</th>
<td
width=
"35%"
><input
name=
"xxbbh"
id=
"xxbbh"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
规划项目编号
</th>
<td
width=
"35%"
><input
name=
"ghxmbh"
id=
"ghxmbh"
value=
""
type=
"text"
></td>
</tr>
<tr>
<th
width=
"15%"
>
建设单位名称
</th>
<td
width=
"35%"
><input
name=
"jsdwmc"
id=
"jsdwmc"
value=
""
type=
"text"
></td>
<th
width=
"15%"
>
工程项目名称
</th>
<td
width=
"35%"
><input
name=
"gcxmmc"
id=
"gcxmmc"
value=
""
type=
"text"
></td>
</tr>
<tr>
<th
width=
"15%"
>
缴费环节
</th>
<td
width=
"35%"
>
<select
name=
"jfhj"
id=
"jfhj"
>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
无
</option>
<option
value=
"1"
>
施工许可前
</option>
<option
value=
"3"
>
30日
</option>
</select>
</td>
<th
width=
"15%"
>
核查状态
</th>
<td
width=
"35%"
>
<select
name=
"hczt"
id=
"hczt"
>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
无
</option>
<option
value=
"1"
>
已同步
</option>
<option
value=
"2"
>
未同步
</option>
</select>
</td>
</tr>
<!-- <%-- <tr>
<th width="15%">子账户状态</th>
<td width="35%">
<select name="zzhxm.accountStatus" id="accountStatus">
<option value="">请选择</option>
<option value="0">未激活</option>
<option value="1">已激活</option>
<option value="2">已作废</option>
<option value="3">已到账</option>
<option value="4">已缴销</option>
</select>
</td>
</tr>--%> -->
<tr>
<td
colspan=
"4"
align=
"center"
>
<a
href=
"###"
class=
"btn_01"
onclick=
"search_xmlb()"
>
查询
<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>
</tr>
</table>
</div>
<div
id=
"pagination"
>
</div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
WebRoot/WEB-INF/pages/rfdz/Rfdz_View.jsp
deleted
100644 → 0
View file @
f6774eef
This diff is collapsed.
Click to expand it.
src/com/jshx/rfdz/conf/sql-map-rfdz.xml
deleted
100644 → 0
View file @
f6774eef
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-2.dtd">
<sqlMap>
<!-- 根据搜索条件查询 -->
<select
id=
"findRfdzByMap"
>
from Rfdz t where t.delFlag = 0
<isNotEmpty
property=
"deptCodes"
>
<![CDATA[and t.deptId in (:deptCodes)]]>
</isNotEmpty>
<isNotEmpty
property=
"ids"
>
<![CDATA[and t.id in (:ids)]]>
</isNotEmpty>
<isNotEmpty
property=
"slbh"
>
<![CDATA[and t.slbh like :slbh]]>
</isNotEmpty>
<isNotEmpty
property=
"dwmc"
>
<![CDATA[and t.dwmc like :dwmc]]>
</isNotEmpty>
<isNotEmpty
property=
"xmmc"
>
<![CDATA[and t.xmmc like :xmmc]]>
</isNotEmpty>
<isNotEmpty
property=
"zsdw"
>
<![CDATA[and t.zsdw like :zsdw]]>
</isNotEmpty>
<isNotEmpty
property=
"zslxdbh"
>
<![CDATA[and t.zslxdbh like :zslxdbh]]>
</isNotEmpty>
<isNotEmpty
property=
"dwdm"
>
<![CDATA[and t.dwdm like :dwdm]]>
</isNotEmpty>
<isNotEmpty
property=
"lockFlag"
>
<![CDATA[and t.lockFlag = :lockFlag]]>
</isNotEmpty>
<isNotEmpty
property=
"zyjje"
>
<![CDATA[and t.zyjje > 0]]>
</isNotEmpty>
<isNotEmpty
property=
"ptyjje"
>
<![CDATA[and t.ptyjje > 0]]>
</isNotEmpty>
<isNotEmpty
property=
"yjje"
>
<![CDATA[and t.ptyjje = :yjje]]>
</isNotEmpty>
<isNotEmpty
property=
"ECN"
>
<![CDATA[and t.ECN > 0]]>
</isNotEmpty>
<isNotEmpty
property=
"ecnn"
>
<![CDATA[and t.ECN like :ecnn]]>
</isNotEmpty>
<isNotEmpty
property=
"nonTaxStatus"
>
<![CDATA[and t.nonTaxStatus = :nonTaxStatus]]>
</isNotEmpty>
<isNotEmpty
property=
"isPrintJfpz"
>
<![CDATA[and t.isPrintJfpz = :isPrintJfpz]]>
</isNotEmpty>
<isNotEmpty
property=
"isfdx"
>
<![CDATA[and t.isfdx = :isfdx]]>
</isNotEmpty>
<isNotEmpty
property=
"notisfdx"
>
<![CDATA[and t.isfdx is null]]>
</isNotEmpty>
<isNotEmpty
property=
"yzsFlag"
>
<![CDATA[and t.yzsFlag = :yzsFlag]]>
</isNotEmpty>
<isNotEmpty
property=
"isCreateJfpz"
>
<![CDATA[and t.isCreateJfpz = :isCreateJfpz]]>
</isNotEmpty>
order by t.createTime desc
</select>
</sqlMap>
src/com/jshx/rfdz/conf/struts-rfdz.xml
deleted
100644 → 0
View file @
f6774eef
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package
name=
"RFDZ"
extends=
"default"
namespace=
"/jsp/rfdz"
>
<action
name=
"RfdzList"
>
<result
name=
"success"
>
/WEB-INF/pages/rfdz/Rfdz_List.jsp
</result>
</action>
<action
name=
"RfdzDetail"
>
<result
name=
"success"
>
/WEB-INF/pages/rfdz/Rfdz_Detail.jsp
</result>
</action>
<!-- 跳转收费信息列表页面 -->
<action
name=
"RfdzSfxxDetail"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"view"
>
<result
name=
"view"
>
/WEB-INF/pages/rfdz/Rfdz_Detail.jsp
</result>
</action>
<!-- 跳转收费信息添加页面 -->
<action
name=
"RfdzSfxxAdd"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"sfxxAdd"
>
<result
name=
"edit"
>
/WEB-INF/pages/rfdz/Rfdz_Add.jsp
</result>
</action>
<action
name=
"RfdzEdit"
>
<result
name=
"success"
>
/WEB-INF/pages/rfdz/Rfdz_Edit.jsp
</result>
</action>
<action
name=
"RfdzView"
>
<result
name=
"success"
>
/WEB-INF/pages/rfdz/Rfdz_View.jsp
</result>
</action>
<!-- 列表查询,返回Json数据 -->
<action
name=
"rflist"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"list"
>
</action>
<action
name=
"rfadd"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"save"
>
<interceptor-ref
name=
"tokenInterceptor"
/>
<interceptor-ref
name=
"coreStack"
/>
<result
name=
"reload"
type=
"redirect"
>
/common/successToSelf.jsp?windowId=win_rfdzsfxxadd
</result>
<result
name=
"invalid.token"
>
/invalid.jsp
</result>
</action>
<action
name=
"rfupdate"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"update"
>
</action>
<action
name=
"rfdetail"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"update"
>
</action>
<action
name=
"rfsflist"
class=
"com.jshx.rfdz.web.RfdzAction"
method=
"update"
>
</action>
</package>
</struts>
src/com/jshx/rfdz/dao/RfdzDao.java
deleted
100644 → 0
View file @
f6774eef
package
com
.
jshx
.
rfdz
.
dao
;
import
com.jshx.core.base.dao.BaseDao
;
import
com.jshx.core.base.vo.Pagination
;
import
com.jshx.rfdz.entity.Rfdz
;
import
java.util.List
;
import
java.util.Map
;
public
interface
RfdzDao
extends
BaseDao
{
/**
* 分页查询
* @param page 分页信息
* @param paraMap 查询条件信息
* @return 分页信息
*/
public
Pagination
findByPage
(
Pagination
page
,
Map
<
String
,
Object
>
paraMap
);
/**
* 查询所有记录
* @param paraMap 查询条件信息
* @return 分页信息
*/
public
List
findPaymentItemRf
(
Map
<
String
,
Object
>
paraMap
);
/**
* 根据主键ID查询信息
* @param id 主键ID
* @return 主键ID对应的信息
*/
public
Rfdz
getById
(
String
id
);
/**
* 保存信息
* @param model 信息
*/
public
void
save
(
Rfdz
model
);
/**
* 修改信息
* @param model 信息
*/
public
void
update
(
Rfdz
model
);
/**
* 物理删除信息
*/
public
void
delete
(
String
id
);
/**
* 逻辑删除信息
*/
public
void
deleteWithFlag
(
String
id
);
}
src/com/jshx/rfdz/dao/impl/RfdzDaoImpl.java
deleted
100644 → 0
View file @
f6774eef
package
com
.
jshx
.
rfdz
.
dao
.
impl
;
import
com.jshx.core.base.dao.impl.BaseDaoImpl
;
import
com.jshx.core.base.vo.Pagination
;
import
com.jshx.rfdz.dao.RfdzDao
;
import
com.jshx.rfdz.entity.Rfdz
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
import
java.util.Map
;
@Component
(
"paymentItemRfDao"
)
public
class
RfdzDaoImpl
extends
BaseDaoImpl
implements
RfdzDao
{
/**
* 分页查询
* @param page 分页信息
* @param paraMap 查询条件信息
* @return 分页信息
*/
public
Pagination
findByPage
(
Pagination
page
,
Map
<
String
,
Object
>
paraMap
)
{
return
this
.
findPageByHqlId
(
"findRfdzByMap"
,
paraMap
,
page
);
}
/**
* 查询所有记录
* @param paraMap 查询条件信息
* @return 分页信息
*/
public
List
findPaymentItemRf
(
Map
<
String
,
Object
>
paraMap
){
return
this
.
findListByHqlId
(
"findRfdzByMap"
,
paraMap
);
}
/**
* 根据主键ID查询信息
* @param id 主键ID
* @return 主键ID对应的信息
*/
public
Rfdz
getById
(
String
id
)
{
return
(
Rfdz
)
this
.
getObjectById
(
Rfdz
.
class
,
id
);
}
/**
* 保存信息
*/
public
void
save
(
Rfdz
paymentItemRf
)
{
paymentItemRf
.
setId
(
null
);
this
.
saveOrUpdateObject
(
paymentItemRf
);
}
/**
* 修改信息
*/
public
void
update
(
Rfdz
paymentItemRf
)
{
this
.
saveOrUpdateObject
(
paymentItemRf
);
}
/**
* 物理删除信息
*/
public
void
delete
(
String
id
)
{
this
.
removeObjectById
(
Rfdz
.
class
,
id
);
}
/**
* 逻辑删除信息
*/
public
void
deleteWithFlag
(
String
id
)
{
Rfdz
paymentItemRf
=
(
Rfdz
)
this
.
getObjectById
(
Rfdz
.
class
,
id
);
paymentItemRf
.
setDelFlag
(
1
);
this
.
saveObject
(
paymentItemRf
);
}
}
src/com/jshx/rfdz/entity/Rfdz.java
deleted
100644 → 0
View file @
f6774eef
package
com
.
jshx
.
rfdz
.
entity
;
import
com.jshx.core.base.entity.BaseModel
;
import
com.jshx.paymentItemHis.entity.PaymentItemHis
;
import
com.jshx.xmxxb.entity.Xmxxb
;
import
javax.persistence.*
;
/**
* 实体类模板(目前仅适配MS-SQLServer数据库)
* @author
*
*/
@SuppressWarnings
(
"serial"
)
@Entity
@Table
(
name
=
"RFDZ"
)
public
class
Rfdz
extends
BaseModel
{
/**
* 部门代码
*/
private
String
deptId
;
/**
* 删除标记
*/
@Column
private
Integer
delFlag
;
/**
* 收费项目名称
*/
private
String
scxmmc
;
/**
* 联系单编号
*/
private
String
lxdbj
;
/**
* 审核部门
*/
private
String
shbm
;
/**
* 应缴金额
*/
private
String
yjje
;
/**
* 缴费承诺环节
* 1,30日内
*/
private
int
jfcnhj
;
/**
* 提前缴纳
*/
private
int
txjn
;
/**
* 上传的文件:征收联系单
*/
private
String
zslxd
;
/**
* 上传的文件:征收联系单
*/
private
String
fkdsw
;
/**
* 上传的文件:先行缴纳申请
*/
private
String
xxjnsd
;
/**
* 备注
*/
private
String
beizhu
;
public
String
getDeptId
()
{
return
deptId
;
}
public
void
setDeptId
(
String
deptId
)
{
this
.
deptId
=
deptId
;
}
public
Integer
getDelFlag
()
{
return
delFlag
;
}
public
void
setDelFlag
(
Integer
delFlag
)
{
this
.
delFlag
=
delFlag
;
}
public
String
getScxmmc
()
{
return
scxmmc
;
}
public
void
setScxmmc
(
String
scxmmc
)
{
this
.
scxmmc
=
scxmmc
;
}
public
String
getLxdbj
()
{
return
lxdbj
;
}
public
void
setLxdbj
(
String
lxdbj
)
{
this
.
lxdbj
=
lxdbj
;
}
public
String
getShbm
()
{
return
shbm
;
}
public
void
setShbm
(
String
shbm
)
{
this
.
shbm
=
shbm
;
}
public
String
getYjje
()
{
return
yjje
;
}
public
void
setYjje
(
String
yjje
)
{
this
.
yjje
=
yjje
;
}
public
int
getJfcnhj
()
{
return
jfcnhj
;
}
public
void
setJfcnhj
(
int
jfcnhj
)
{
this
.
jfcnhj
=
jfcnhj
;
}
public
int
getTxjn
()
{
return
txjn
;
}
public
void
setTxjn
(
int
txjn
)
{
this
.
txjn
=
txjn
;
}
public
String
getZslxd
()
{
return
zslxd
;
}
public
void
setZslxd
(
String
zslxd
)
{
this
.
zslxd
=
zslxd
;
}
public
String
getFkdsw
()
{
return
fkdsw
;
}
public
void
setFkdsw
(
String
fkdsw
)
{
this
.
fkdsw
=
fkdsw
;
}
public
String
getXxjnsd
()
{
return
xxjnsd
;
}
public
void
setXxjnsd
(
String
xxjnsd
)
{
this
.
xxjnsd
=
xxjnsd
;
}
public
String
getBeizhu
()
{
return
beizhu
;
}
public
void
setBeizhu
(
String
beizhu
)
{
this
.
beizhu
=
beizhu
;
}
}
src/com/jshx/rfdz/service/RfdzService.java
deleted
100644 → 0
View file @
f6774eef
package
com
.
jshx
.
rfdz
.
service
;
import
com.jshx.core.base.service.BaseService
;
import
com.jshx.core.base.vo.Pagination
;
import
com.jshx.rfdz.entity.Rfdz
;
import
java.util.List
;
import
java.util.Map
;
public
interface
RfdzService
extends
BaseService
{
/**
* 分页查询
* @param page 分页信息
* @param paraMap 查询条件信息
* @return 分页信息
*/
public
Pagination
findByPage
(
Pagination
page
,
Map
<
String
,
Object
>
paraMap
);
public
List
<
Rfdz
>
findall
(
Map
<
String
,
Object
>
paraMap
);
/**
* 根据主键ID查询信息
* @param id 主键ID
* @return 主键ID对应的信息
*/
public
Rfdz
getById
(
String
id
);
/**根据受理编号查询代缴款项目
* @param orderId
* @return
*/
public
Rfdz
getByOrderId
(
String
orderId
);
/**根据项目表id查询代缴款项目
* @param orderId
* @return
*/
public
Rfdz
getByXmbId
(
String
xmbzj
);
/**
* 保存信息
* @param model 信息
*/
public
void
save
(
Rfdz
model
);
/**
* 修改信息
* @param model 信息
*/
public
void
update
(
Rfdz
model
);
/**
* 物理删除信息
* @param ids 主键ID列表
*/
public
void
delete
(
String
[]
ids
);
/**
* 逻辑删除信息
* @param ids 主键ID列表
*/
public
void
deleteWithFlag
(
String
ids
);
/**根据凭证查询代缴款项目
* @param orderId
* @return
*/
public
Rfdz
getByZslxdbh
(
String
zslxdbh
);
}
src/com/jshx/rfdz/service/impl/RfdzServiceImpl.java
deleted
100644 → 0
View file @
f6774eef
package
com
.
jshx
.
rfdz
.
service
.
impl
;
import
com.jshx.core.base.service.impl.BaseServiceImpl
;
import
com.jshx.core.base.vo.Pagination
;
import
com.jshx.rfdz.dao.RfdzDao
;
import
com.jshx.rfdz.entity.Rfdz
;
import
com.jshx.rfdz.service.RfdzService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Service
(
"paymentItemRfService"
)
public
class
RfdzServiceImpl
extends
BaseServiceImpl
implements
RfdzService
{
/**
* Dao类
*/
@Autowired
()
@Qualifier
(
"paymentItemRfDao"
)
private
RfdzDao
rfdzDao
;
/**
* 分页查询
* @param page 分页信息
* @param paraMap 查询条件信息
* @return 分页信息
*/
public
Pagination
findByPage
(
Pagination
page
,
Map
<
String
,
Object
>
paraMap
)
{
return
rfdzDao
.
findByPage
(
page
,
paraMap
);
}
/**
* 根据主键ID查询信息
* @param id 主键ID
* @return 主键ID对应的信息
*/
public
Rfdz
getById
(
String
id
)
{
return
rfdzDao
.
getById
(
id
);
}
/**根据受理编号查询代缴款项目
* @param orderId
* @return
*/
public
Rfdz
getByOrderId
(
String
orderId
)
{
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<
String
,
Object
>();
paraMap
.
put
(
"slbh"
,
orderId
);
Rfdz
paymentItemRf
=
(
Rfdz
)
rfdzDao
.
findObjectByFieldsMap
(
Rfdz
.
class
,
paraMap
);
return
paymentItemRf
;
}
/**根据项目表id查询代缴款项目
* @return
*/
public
Rfdz
getByXmbId
(
String
xmbzj
)
{
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<
String
,
Object
>();
paraMap
.
put
(
"xmbzj"
,
xmbzj
);
Rfdz
paymentItemRf
=
(
Rfdz
)
rfdzDao
.
findObjectByFieldsMap
(
Rfdz
.
class
,
paraMap
);
return
paymentItemRf
;
}
/**根据凭证查询代缴款项目
* @return
*/
public
Rfdz
getByZslxdbh
(
String
zslxdbh
)
{
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<
String
,
Object
>();
paraMap
.
put
(
"zslxdbh"
,
zslxdbh
);
Rfdz
paymentItemRf
=
(
Rfdz
)
rfdzDao
.
findObjectByFieldsMap
(
Rfdz
.
class
,
paraMap
);
return
paymentItemRf
;
}
/**
* 保存信息
*/
@Transactional
public
void
save
(
Rfdz
paymentItemRf
)
{
rfdzDao
.
save
(
paymentItemRf
);
}
/**
* 修改信息
*/
@Transactional
public
void
update
(
Rfdz
paymentItemRf
)
{
rfdzDao
.
update
(
paymentItemRf
);
}
/**
* 物理删除信息
* @param ids 主键ID列表
*/
@Transactional
public
void
delete
(
String
[]
ids
)
{
List
list
=
Arrays
.
asList
(
ids
);
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<
String
,
Object
>();
paraMap
.
put
(
"ids"
,
list
);
List
objects
=
rfdzDao
.
findPaymentItemRf
(
paraMap
);
rfdzDao
.
removeAll
(
objects
);
}
/**
* 逻辑删除信息
* @param ids 主键ID列表
*/
@Transactional
public
void
deleteWithFlag
(
String
ids
)
{
String
[]
idArray
=
ids
.
split
(
"\\|"
);
if
(
null
!=
idArray
)
{
for
(
String
id
:
idArray
)
{
if
(
id
!=
null
&&
!
id
.
trim
().
equals
(
""
))
rfdzDao
.
deleteWithFlag
(
id
);
}
}
}
@Override
public
List
<
Rfdz
>
findall
(
Map
<
String
,
Object
>
paraMap
)
{
// TODO Auto-generated method stub
return
rfdzDao
.
findPaymentItemRf
(
paraMap
);
}
}
src/com/jshx/rfdz/web/RfdzAction.java
deleted
100644 → 0
View file @
f6774eef
package
com
.
jshx
.
rfdz
.
web
;
import
com.jshx.core.base.action.BaseAction
;
import
com.jshx.core.base.vo.Pagination
;
import
com.jshx.core.json.CodeJsonValueProcessor
;
import
com.jshx.core.json.DateJsonValueProcessor
;
import
com.jshx.paymentItemHis.entity.PaymentItemHis
;
import
com.jshx.paymentItemHis.service.PaymentItemHisService
;
import
com.jshx.rfdz.entity.Rfdz
;
import
com.jshx.rfdz.service.RfdzService
;
import
com.jshx.zsdw.service.ZsdwService
;
import
com.neusoft.egov.utils.TextUtils
;
import
net.sf.json.JsonConfig
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
RfdzAction
extends
BaseAction
{
String
id
;
String
ghxkzbh
;
String
jfpzbh
;
String
xxbbh
;
String
ghxmbh
;
String
jsdwmc
;
String
gcxmmc
;
String
jfhj
;
String
hczt
;
PaymentItemHis
paymentItem
=
new
PaymentItemHis
();
Rfdz
rfdz
=
new
Rfdz
();
/**
* 分页信息
*/
private
Pagination
pagination
;
/**
* 修改新增标记,add为新增、mod为修改
*/
private
String
flag
;
/**
* 项目id
*/
private
String
ids
;
/**
* 业务类
*/
@Autowired
private
PaymentItemHisService
paymentItemHisService
;
@Autowired
private
RfdzService
rfdzService
;
@Autowired
private
ZsdwService
zsdwService
;
public
void
list
()
throws
Exception
{
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<
String
,
Object
>();
if
(
pagination
==
null
)
pagination
=
new
Pagination
(
this
.
getRequest
());
paraMap
.
put
(
"isCwyz"
,
"1"
);
// 财务用章
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
(!
TextUtils
.
isEmpty
(
gcxmmc
)){
paraMap
.
put
(
"jsdd"
,
"%"
+
gcxmmc
+
"%"
);
}
//TODO 缴费环节、核查状态筛选
//1施工许可前 2:30日内
if
(!
TextUtils
.
isEmpty
(
jfhj
)
&&
"0"
.
equals
(
jfhj
))
{
// paraMap
}
//1已同步 2未同步
if
(!
TextUtils
.
isEmpty
(
hczt
)
&&
"0"
.
equals
(
hczt
))
{
}
if
(!
this
.
getLoginUser
().
getIsSuperAdmin
()){
String
dwdm
=
zsdwService
.
getDwdm
(
this
.
getLoginUserDepartmentId
());
paraMap
.
put
(
"dwdm"
,
dwdm
);
}
JsonConfig
config
=
new
JsonConfig
();
config
.
registerJsonValueProcessor
(
java
.
util
.
Date
.
class
,
new
DateJsonValueProcessor
());
Map
<
String
,
String
>
codeMap
=
new
HashMap
<
String
,
String
>();
//此处添加需要转换的一维代码,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
=
paymentItemHisService
.
findByPage
(
pagination
,
paraMap
);
convObjectToJson
(
pagination
,
config
);
}
public
void
rfList
()
{
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<
String
,
Object
>();
if
(
pagination
==
null
)
{
pagination
=
new
Pagination
(
this
.
getRequest
());
}
if
(
null
!=
ids
){
paraMap
.
put
(
"zzhxmid"
,
ids
);
}
JsonConfig
config
=
new
JsonConfig
();
config
.
registerJsonValueProcessor
(
Date
.
class
,
new
DateJsonValueProcessor
());
Map
<
String
,
String
>
codeMap
=
new
HashMap
<
String
,
String
>();
//此处添加需要转换的一维代码,key是一维代码在数据对象中的属性名,value是一维代码的codeId
config
.
registerJsonValueProcessor
(
String
.
class
,
new
CodeJsonValueProcessor
(
codeMap
));
/*final String filter = "id|accountName|accountDetail|accountStatus|jktzsbh|xmdm|ghxkzbh|ghxmbh|jsdwmc|gcxmmc|gcxmdd|sfxmmc|shbm|yjjemx|jktzyjjehj|cnjfhj|status|";
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;
}
});
}*/
/*Map<String, Object> tempMap = new HashMap<>();
tempMap.put("jfdmwybh", "111SF001南京市城市建设费用征收服务中心第1轮");
List sfxxs = zzhxmSfxxService.findZzhxmSfxx(tempMap);*/
pagination
=
rfdzService
.
findByPage
(
pagination
,
paraMap
);
convObjectToJson
(
pagination
,
config
);
}
/**
* 保存信息(包括新增和补录)
*/
public
String
save
()
throws
Exception
{
if
(
"add"
.
equalsIgnoreCase
(
this
.
flag
)){
rfdz
.
setDeptId
(
this
.
getLoginUserDepartmentId
());
rfdz
.
setDelFlag
(
0
);
rfdzService
.
save
(
rfdz
);
PaymentItemHis
his
=
paymentItemHisService
.
getById
(
paymentItem
.
getId
());
his
.
setRfdzzj
(
rfdz
.
getId
());
paymentItemHisService
.
update
(
his
);
}
else
{
//TODO 判断审核人和创建人是否一致
PaymentItemHis
his
=
paymentItemHisService
.
getById
(
paymentItem
.
getId
());
//TODO 人防信息保存
// his.setRfsfxxzj("");
paymentItemHisService
.
update
(
his
);
// Rfdz model = rfdzService.getById(rfdz.getId());
// model.setBeizhu(rfdz.getBeizhu());
// model.setJfcn(rfdz.getJfcn());
// model.setSfxmlxdbh(rfdz.getSfxmlxdbh());
// model.setSfxmmc(rfdz.getSfxmmc());
// model.setDeptId(rfdz.getDeptId());
// model.setShbm(rfdz.getShbm());
// model.setXmbzj(rfdz.getXmbzj());
// model.setYhjn(rfdz.getYhjn());
// rfdzService.update(model);
}
return
RELOAD
;
}
/**
* 更新状态
*/
public
void
update
()
{
}
/**
* 详情
*/
public
void
detail
()
{
}
/**
* 人防到账列表点击收费信息
*/
public
String
view
()
{
if
(
paymentItem
!=
null
&&
!
TextUtils
.
isEmpty
(
paymentItem
.
getId
()))
{
Map
<
String
,
Object
>
paraMap
=
new
HashMap
<>();
paymentItem
=
paymentItemHisService
.
getById
(
paymentItem
.
getId
());
}
return
VIEW
;
}
public
String
sfxxAdd
()
{
view
();
return
EDIT
;
}
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
Rfdz
getRfdz
()
{
return
rfdz
;
}
public
void
setRfdz
(
Rfdz
rfdz
)
{
this
.
rfdz
=
rfdz
;
}
public
Pagination
getPagination
()
{
return
pagination
;
}
public
void
setPagination
(
Pagination
pagination
)
{
this
.
pagination
=
pagination
;
}
public
String
getFlag
()
{
return
flag
;
}
public
void
setFlag
(
String
flag
)
{
this
.
flag
=
flag
;
}
public
String
getIds
()
{
return
ids
;
}
public
void
setIds
(
String
ids
)
{
this
.
ids
=
ids
;
}
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
PaymentItemHis
getPaymentItem
()
{
return
paymentItem
;
}
public
void
setPaymentItem
(
PaymentItemHis
paymentItem
)
{
this
.
paymentItem
=
paymentItem
;
}
}
src/com/jshx/rfxm/web/RfxmAction.java
View file @
f84c2e6a
...
...
@@ -74,6 +74,7 @@ public class RfxmAction extends BaseAction
* 主键ID列表,用于接收页面提交的多条主键ID信息
*/
private
String
ids
;
private
int
downloadIndex
;
private
String
attachId
;
private
String
gdh
;
...
...
@@ -1464,27 +1465,27 @@ public class RfxmAction extends BaseAction
// 服务器路径,创建文件夹
// 得到当前路径
String
filename
=
sfxx
.
getUrldz
();
// String str = ServletActionContext.getServletContext().getRealPath("");
// int i = "zhengshouWebRoot".length() + 2;
// String path = str.substring(1, i);
// String url = path + SysPropertiesUtil.getProperty("filePath") + File.separator + filename;
String
showName
=
sfxx
.
getShowName
();
if
(
downloadIndex
==
1
)
{
filename
=
sfxx
.
getUrldzFk
();
showName
=
sfxx
.
getShowNameFk
();
}
else
if
(
downloadIndex
==
2
)
{
filename
=
sfxx
.
getUrldzSq
();
showName
=
sfxx
.
getShowNameSq
();
}
else
if
(
downloadIndex
==
3
)
{
filename
=
sfxx
.
getUrldzZm
();
showName
=
sfxx
.
getShowNameZm
();
}
String
cc
=
this
.
getRequest
().
getSession
().
getServletContext
()
.
getRealPath
(
File
.
separator
);
File
ff
=
new
File
(
cc
);
String
ab
=
ff
.
getParent
();
String
path
=
new
File
(
ab
).
getParent
()+
File
.
separator
+
"uploads"
+
File
.
separator
+
Constant
.
ZSLC_SFXX
+
File
.
separator
+
filename
;
// String path = sfxx.getFilePath() + sfxx.getUrldz();
// String url = ServletActionContext.getServletContext().getRealPath("/" +SysPropertiesUtil.getProperty("filePath")) +File.separator + filename;
String
url
=
path
.
replaceAll
(
"\\\\"
,
"/"
).
trim
();
// String url = path;
File
file
=
new
File
(
url
);
System
.
out
.
println
(
url
);
System
.
out
.
println
(
file
.
exists
());
// if (file.exists()) {
downFileName
=
java
.
net
.
URLEncoder
.
encode
(
sfxx
.
getShowName
(),
"UTF-8"
);
// downFileStream =
// ServletActionContext.getServletContext().getResourceAsStream("uploads/"
// + filename);
downFileName
=
java
.
net
.
URLEncoder
.
encode
(
showName
,
"UTF-8"
);
InputStream
inputStream
=
null
;
byte
[]
contents
=
null
;
try
{
...
...
@@ -1497,15 +1498,11 @@ public class RfxmAction extends BaseAction
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
// downFileName = java.net.URLEncoder.encode(att
// .getAttachname(), "UTF-8");
downFileStream
=
getDownLoadFileStream
(
contents
);
// }
}
}
catch
(
Exception
ex
){
logger
.
error
(
ex
.
toString
());
this
.
getResponse
().
getWriter
().
println
(
"{\"result\":false,\"message\":\""
+
"系统异常,请联系管理员!"
+
"\"}"
);
// throw new BasalException(BasalException.ERROR, "系统异常,请联系管理员!");
}
}
return
SUCCESS
;
...
...
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