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
369bc32d
Commit
369bc32d
authored
Feb 28, 2023
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非税通知书-自动缴销需求提交
parent
4bea66da
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
96 additions
and
32 deletions
+96
-32
AccountBank_Detail.jsp
.../WEB-INF/pages/account/accountBank/AccountBank_Detail.jsp
+27
-8
Fstzs_Add.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Add.jsp
+2
-3
Fstzs_Dsc.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Dsc.jsp
+2
-2
Fstzs_View.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_View.jsp
+1
-1
Fstzs_Yjh.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Yjh.jsp
+0
-1
Fstzs_Ysc.jsp
WebRoot/WEB-INF/pages/fstzs/Fstzs_Ysc.jsp
+2
-2
AccountBank.java
src/com/jshx/account/accountBank/entity/AccountBank.java
+13
-0
AccountBankServiceImpl.java
...ount/accountBank/service/impl/AccountBankServiceImpl.java
+1
-1
Fstzs.java
src/com/jshx/fstzs/entity/Fstzs.java
+14
-0
FstzsXm.java
src/com/jshx/fstzs/entity/FstzsXm.java
+20
-10
JkztResp.java
src/com/jshx/fstzs/fsutil/bean/JkztResp.java
+7
-1
FstzsAction.java
src/com/jshx/fstzs/web/FstzsAction.java
+0
-0
PaymentItemPendingServiceImpl.java
...emPending/service/impl/PaymentItemPendingServiceImpl.java
+1
-1
PaymentItemPendingAction.java
...jshx/paymentItemPending/web/PaymentItemPendingAction.java
+6
-2
No files found.
WebRoot/WEB-INF/pages/account/accountBank/AccountBank_Detail.jsp
View file @
369bc32d
...
...
@@ -9,6 +9,10 @@
{
window
.
location
.
href
=
"${ctx}/jsp/accountBank/downloadFile.action?attachId="
+
id
;
}
function
viewFs
(
fsId
)
{
createSimpleWindow
(
"win_fstzs"
,
"打印非税通知书"
,
"${ctx}/jsp/fstzs/winPrintFstzs.action?id="
+
fsId
,
900
,
700
);
}
</script>
</head>
<body>
...
...
@@ -30,14 +34,29 @@
<td
width=
"35%"
>
${accountBank.remark}
</td>
</tr>
<c:if
test=
"${accountBank.hasInvoice == 0}"
>
<c:forEach
var=
"c"
items=
"${attach}"
varStatus=
"status"
>
<tr>
<th
width=
"15%"
>
附件${status.count}
</th>
<td
colspan=
"4"
style=
"text-align: left;"
>
<a
href=
"javascript:opendoc('${c.id}')"
><font
style=
"color:blue"
>
${c.attachname}
</font></a>
</br>
</td>
</tr>
</c:forEach>
<c:choose>
<c:when
test=
"${not empty accountBank.fsId}"
>
<tr>
<th
width=
"15%"
>
附件
</th>
<td
colspan=
"4"
style=
"text-align: left;"
>
<a
href=
"#"
class=
"btn_01"
onclick=
viewFs('${accountBank.fsId}');
>
查看
<b></b></a>
</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach
var=
"c"
items=
"${attach}"
varStatus=
"status"
>
<tr>
<th
width=
"15%"
>
附件${status.count}
</th>
<td
colspan=
"4"
style=
"text-align: left;"
>
<a
href=
"javascript:opendoc('${c.id}')"
><font
style=
"color:blue"
>
${c.attachname}
</font></a>
</br>
</td>
</tr>
</c:forEach>
</c:otherwise>
</c:choose>
</c:if>
<tr>
</tr>
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_Add.jsp
View file @
369bc32d
...
...
@@ -123,7 +123,7 @@
<tr>
<th
width=
"15"
>
应缴总面积(平方米)
</th>
<td
width=
"35%"
>
<input
id=
"csmj"
name=
"fstzsXm.
paymentItemPending.csmj"
style=
"width:90%"
value=
"${fstzsXm.paymentItemPending
.csmj}"
disabled
/>
<input
id=
"csmj"
name=
"fstzsXm.
xmxxb.csmj"
style=
"width:90%"
value=
"${fstzsXm.xmxxb
.csmj}"
disabled
/>
</td>
<th
width=
"15"
>
收费标准(元)
</th>
...
...
@@ -396,12 +396,11 @@
}
else
if
(
typeof
(
num
)
===
'number'
&&
isNaN
(
num
))
{
$
.
messager
.
alert
(
'提示'
,
'请输入正确的数字!'
);
}
else
{
//计算应缴面积
var
yjmjNums
=
numb
/
150
var
x
=
String
(
yjmjNums
).
indexOf
(
"."
)
+
1
;
//得到小数点的位置
var
y
=
String
(
yjmjNums
).
length
-
x
;
//小数点的位数
if
(
y
>
2
)
{
if
(
x
!=
0
&&
y
>
2
)
{
$
.
messager
.
alert
(
'提示'
,
'请输入正确的应缴金额!'
);
$
(
this
).
parent
().
prev
().
text
(
''
);
return
false
;
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_Dsc.jsp
View file @
369bc32d
...
...
@@ -53,10 +53,10 @@
}
}},
{
field
:
'zyjje'
,
title
:
'项目总应缴金额'
,
width
:
150
,
formatter
:
function
(
value
,
row
,
index
){
return
(
parseFloat
(
row
.
paymentItemPending
.
z
yjje
).
toFixed
(
2
)
+
''
).
replace
(
/
\d{1,3}(?=(\d{3})
+
(\.\d
*
)?
$
)
/g
,
'$&,'
);
return
(
parseFloat
(
row
.
xmxxb
.
yjje
).
toFixed
(
2
)
+
''
).
replace
(
/
\d{1,3}(?=(\d{3})
+
(\.\d
*
)?
$
)
/g
,
'$&,'
);
}},
{
field
:
'jzmj'
,
title
:
'总建筑面积'
,
width
:
150
,
formatter
:
function
(
value
,
row
,
index
){
return
row
.
paymentItemPending
.
csmj
;
return
row
.
xmxxb
.
csmj
;
}}
]]
}));
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_View.jsp
View file @
369bc32d
...
...
@@ -121,7 +121,7 @@
<tr>
<th
width=
"15"
>
应缴总面积(平方米)
</th>
<td
width=
"35%"
>
<input
id=
"csmj"
name=
"fstzsXm.
paymentItemPending.csmj"
style=
"width:90%"
value=
"${fstzsXm.paymentItemPending
.csmj}"
disabled
/>
<input
id=
"csmj"
name=
"fstzsXm.
xmxxb.csmj"
style=
"width:90%"
value=
"${fstzsXm.xmxxb
.csmj}"
disabled
/>
</td>
<th
width=
"15"
>
收费标准(元)
</th>
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_Yjh.jsp
View file @
369bc32d
...
...
@@ -46,7 +46,6 @@
function
dayin
(
id
){
var
dt
=
new
Date
();
createSimpleWindow
(
"win_fstzs"
,
"打印非税通知书"
,
"${ctx}/jsp/fstzs/winPrintFstzs.action?id="
+
id
,
900
,
700
);
}
function
reloadDate
(){
...
...
WebRoot/WEB-INF/pages/fstzs/Fstzs_Ysc.jsp
View file @
369bc32d
...
...
@@ -120,10 +120,10 @@
}
}},
{
field
:
'zyjje'
,
title
:
'项目总应缴金额'
,
width
:
150
,
formatter
:
function
(
value
,
row
,
index
){
return
(
parseFloat
(
row
.
paymentItemPending
.
z
yjje
).
toFixed
(
2
)
+
''
).
replace
(
/
\d{1,3}(?=(\d{3})
+
(\.\d
*
)?
$
)
/g
,
'$&,'
);
return
(
parseFloat
(
row
.
xmxxb
.
yjje
).
toFixed
(
2
)
+
''
).
replace
(
/
\d{1,3}(?=(\d{3})
+
(\.\d
*
)?
$
)
/g
,
'$&,'
);
}},
{
field
:
'jzmj'
,
title
:
'总建筑面积'
,
width
:
100
,
formatter
:
function
(
value
,
row
,
index
){
return
row
.
paymentItemPending
.
csmj
;
return
row
.
xmxxb
.
csmj
;
}},
{
field
:
'status'
,
title
:
'是否复核'
,
width
:
80
,
formatter
:
function
(
value
,
row
,
index
){
if
(
value
==
1
)
return
"待复核"
;
...
...
src/com/jshx/account/accountBank/entity/AccountBank.java
View file @
369bc32d
...
...
@@ -92,6 +92,11 @@ public class AccountBank extends BaseModel
* 子系统类型
*/
private
String
sysType
;
/**
* 如果是由非税查询状态时,自动插入的数据,则存一下fs记录的id
*/
private
String
fsId
;
public
AccountBank
(){
}
...
...
@@ -235,4 +240,12 @@ public class AccountBank extends BaseModel
public
void
setSysType
(
String
sysType
)
{
this
.
sysType
=
sysType
;
}
public
String
getFsId
()
{
return
fsId
;
}
public
void
setFsId
(
String
fsId
)
{
this
.
fsId
=
fsId
;
}
}
src/com/jshx/account/accountBank/service/impl/AccountBankServiceImpl.java
View file @
369bc32d
...
...
@@ -276,7 +276,7 @@ public class AccountBankServiceImpl extends BaseServiceImpl implements AccountBa
String
ECN
=
"PZ"
+
xmxxb
.
getBllb
()+
xmxxb
.
getDwdm
().
toUpperCase
()+
genericManager
.
getSN
(
"dzpz"
);
paymentItemHis
.
setECN
(
ECN
);
//转入已缴款项目
paymentItemHisDao
.
save
(
paymentItemHis
);
paymentItemHisDao
.
save
(
paymentItemHis
);
//???
//清除待缴款项目
paymentItemPendingDao
.
delete
(
paymentItemPending
.
getId
());
//若是催缴项目,则需要清除催缴记录
...
...
src/com/jshx/fstzs/entity/Fstzs.java
View file @
369bc32d
...
...
@@ -136,6 +136,12 @@ public class Fstzs extends BaseModel {
*/
private
String
jkqd
;
/**
* 缴款渠道
* 11柜面缴款和13网上缴款
*/
private
String
jkqdCode
;
/**
* 操作激活的时间
*/
...
...
@@ -416,4 +422,12 @@ public class Fstzs extends BaseModel {
public
void
setYjjeQfw
(
String
yjjeQfw
)
{
this
.
yjjeQfw
=
yjjeQfw
;
}
public
String
getJkqdCode
()
{
return
jkqdCode
;
}
public
void
setJkqdCode
(
String
jkqdCode
)
{
this
.
jkqdCode
=
jkqdCode
;
}
}
src/com/jshx/fstzs/entity/FstzsXm.java
View file @
369bc32d
...
...
@@ -101,10 +101,8 @@ public class FstzsXm extends BaseModel
*/
private
String
fhyj
;
/**
* 对应项目信息主键
*/
private
PaymentItemPending
paymentItemPending
;
private
Xmxxb
xmxxb
;
/**
* 对应的收款人
...
...
@@ -118,6 +116,11 @@ public class FstzsXm extends BaseModel
*/
private
String
jhjd
;
/**
* 项目是否缴销
*/
private
Integer
isJx
;
public
Integer
getStatus
()
{
return
status
;
...
...
@@ -215,14 +218,14 @@ public class FstzsXm extends BaseModel
this
.
yjjedx
=
yjjedx
;
}
@ManyToOne
(
fetch
=
FetchType
.
EAGER
,
targetEntity
=
PaymentItemPending
.
class
)
@JoinColumn
(
name
=
"
PENDING
_ZJ"
,
updatable
=
false
,
insertable
=
true
)
public
PaymentItemPending
getPaymentItemPending
()
{
return
paymentItemPending
;
@ManyToOne
(
fetch
=
FetchType
.
EAGER
,
targetEntity
=
Xmxxb
.
class
)
@JoinColumn
(
name
=
"
XMXXB
_ZJ"
,
updatable
=
false
,
insertable
=
true
)
public
Xmxxb
getXmxxb
()
{
return
xmxxb
;
}
public
void
set
PaymentItemPending
(
PaymentItemPending
paymentItemPending
)
{
this
.
paymentItemPending
=
paymentItemPending
;
public
void
set
Xmxxb
(
Xmxxb
xmxxb
)
{
this
.
xmxxb
=
xmxxb
;
}
@ManyToOne
(
fetch
=
FetchType
.
EAGER
,
targetEntity
=
Kpsjgl
.
class
)
...
...
@@ -261,4 +264,11 @@ public class FstzsXm extends BaseModel
this
.
jkrlx
=
jkrlx
;
}
public
Integer
getIsJx
()
{
return
isJx
;
}
public
void
setIsJx
(
Integer
isJx
)
{
this
.
isJx
=
isJx
;
}
}
src/com/jshx/fstzs/fsutil/bean/JkztResp.java
View file @
369bc32d
...
...
@@ -14,11 +14,17 @@ public class JkztResp {
public
String
confirmDate
;
/**
* 缴款渠道
(代码)
* 缴款渠道
*/
@SerializedName
(
"payment_channel"
)
public
String
paymentChannel
;
/**
* 缴款渠道(代码)
*/
@SerializedName
(
"payment_channel_code"
)
public
String
paymentChannelCode
;
/**
* 缴款银行
*/
...
...
src/com/jshx/fstzs/web/FstzsAction.java
View file @
369bc32d
This diff is collapsed.
Click to expand it.
src/com/jshx/paymentItemPending/service/impl/PaymentItemPendingServiceImpl.java
View file @
369bc32d
...
...
@@ -254,7 +254,7 @@ public class PaymentItemPendingServiceImpl extends BaseServiceImpl implements Pa
this
.
save
(
dj
);
//保存项目到非税通知书表
FstzsXm
xm
=
new
FstzsXm
();
xm
.
set
PaymentItemPending
(
dj
);
xm
.
set
Xmxxb
(
xmb
);
//获取收款人信息保存到项目中
HashMap
<
String
,
Object
>
param
=
new
HashMap
<>();
param
.
put
(
"gllb"
,
"001"
);
...
...
src/com/jshx/paymentItemPending/web/PaymentItemPendingAction.java
View file @
369bc32d
...
...
@@ -18,6 +18,7 @@ import javax.servlet.http.HttpServletResponse;
import
com.jshx.fstzs.entity.FstzsXm
;
import
com.jshx.fstzs.service.FstzsXmService
;
import
com.jshx.xmxxb.service.XmxxbService
;
import
org.apache.struts2.ServletActionContext
;
import
org.hibernate.LobHelper
;
import
org.hibernate.SessionFactory
;
...
...
@@ -54,6 +55,9 @@ public class PaymentItemPendingAction extends BaseAction
*/
private
PaymentItemPending
paymentItemPending
=
new
PaymentItemPending
();
@Autowired
private
XmxxbService
xmxxbService
;
/**
* 业务类
*/
...
...
@@ -190,7 +194,7 @@ public class PaymentItemPendingAction extends BaseAction
* 入paymentItemPending表同时,入FstzsXm表
*/
FstzsXm
xm
=
new
FstzsXm
();
xm
.
set
PaymentItemPending
(
paymentItemPending
);
xm
.
set
Xmxxb
(
xmxxbService
.
getById
(
paymentItemPending
.
getXmbzj
())
);
xm
.
setDelFlag
(
0
);
xm
.
setStatus
(
0
);
...
...
@@ -208,7 +212,7 @@ public class PaymentItemPendingAction extends BaseAction
FstzsXm
xm
=
fstzsXmService
.
getBySlbh
(
paymentItemPending
.
getSlbh
());
if
(
xm
==
null
)
{
xm
=
new
FstzsXm
();
xm
.
set
PaymentItemPending
(
paymentItemPending
);
xm
.
set
Xmxxb
(
xmxxbService
.
getById
(
paymentItemPending
.
getXmbzj
())
);
xm
.
setDelFlag
(
0
);
xm
.
setStatus
(
0
);
xm
.
setJsdwmc
(
paymentItemPending
.
getDwmc
());
...
...
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