Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
517b2881
Commit
517b2881
authored
May 11, 2020
by
彭祥礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增下单页面部分功能和地址管理页面功能
parent
9057d294
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
224 additions
and
90 deletions
+224
-90
apply-net/src/main/java/com/winsun/controller/YxtCardController.java
+135
-0
common/src/main/java/com/winsun/bean/LzKpi.java
+7
-7
common/src/main/java/com/winsun/bean/LzWage.java
+4
-4
common/src/main/java/com/winsun/bean/ManagerKpi.java
+5
-5
common/src/main/java/com/winsun/bean/SalesOrder.java
+10
-11
common/src/main/java/com/winsun/bean/YxtOrder.java
+2
-2
common/src/main/java/com/winsun/bean/ZjlWage.java
+57
-57
service-manager/src/main/java/com/winsun/controller/LzSalaryController.java
+4
-4
No files found.
apply-net/src/main/java/com/winsun/controller/YxtCardController.java
0 → 100644
View file @
517b2881
package
com
.
winsun
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
com.baomidou.mybatisplus.mapper.EntityWrapper
;
import
com.baomidou.mybatisplus.mapper.Wrapper
;
import
com.winsun.auth.core.base.controller.BaseController
;
import
com.winsun.auth.core.common.model.ResponseData
;
import
com.winsun.bean.YxtAddress
;
import
com.winsun.bean.YxtCoupon
;
import
com.winsun.mapper.YxtAddressMapper
;
import
com.winsun.mapper.YxtCouponMapper
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
/**
* 兑换券校检
*
* @Author: xiangli
* @Date:
*/
@Slf4j
@RestController
@RequestMapping
(
"/yxtCard"
)
public
class
YxtCardController
extends
BaseController
{
private
static
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
@Autowired
private
YxtCouponMapper
yxtCouponMapper
;
@Autowired
private
YxtAddressMapper
yxtAddressMapper
;
/**
* 进入院线通兑换券销售界面
* @return
*/
@RequestMapping
(
"/getCardCount"
)
public
ResponseData
<
Map
<
String
,
Object
>>
getCardCount
()
{
Wrapper
<
YxtCoupon
>
yxtCouponWrapper
=
new
EntityWrapper
<>();
yxtCouponWrapper
.
eq
(
"state"
,
1
);
yxtCouponWrapper
.
eq
(
"shelf_state"
,
1
);
Integer
cardNum
=
yxtCouponMapper
.
selectCount
(
yxtCouponWrapper
);
Wrapper
<
YxtCoupon
>
yxtCouponWrapper1
=
new
EntityWrapper
<>();
yxtCouponWrapper1
.
eq
(
"state"
,
2
);
Integer
salesNum
=
yxtCouponMapper
.
selectCount
(
yxtCouponWrapper1
);
Map
<
String
,
Object
>
map
=
new
Hashtable
<>();
map
.
put
(
"cardNum"
,
cardNum
);
map
.
put
(
"salesNum"
,
salesNum
);
map
.
put
(
"nMoney"
,
25.0
);
return
ResponseData
.
success
(
map
);
}
/**
* 进入院线通实体票下单界面
* @return
*/
@RequestMapping
(
"/enterPay"
)
public
ResponseData
<
String
>
enterPay
(){
/*String code = request.getParameter("code");
String result = WxInterfacesUtil.getAccess_tokenByCode(code);
if (StringUtils.isNotBlank(result)) {
JSONObject obj = JSONObject.fromObject(result);
String openId = String.valueOf(obj.get("openid"));
// code重复使用时,从session拿出第一次保存openId赋予openId
if("null".equals(openId) && !"null".equals(String.valueOf(request.getSession().getAttribute("openId")))){
openId = String.valueOf(request.getSession().getAttribute("openId"));
}
// code重复使用时,openId为"null",不更新session
if(!"null".equals(openId)){
request.getSession().setAttribute("openId", openId);
}
request.setAttribute("openId", openId);
System.out.println("openId:" +openId);
}*/
String
openId
=
"isOk"
;
return
ResponseData
.
success
(
openId
);
}
/**
* 获取用户地址
* @return
*/
@RequestMapping
(
"/getUserAddress"
)
public
ResponseData
<
List
<
YxtAddress
>>
getUserAddress
(
@RequestParam
(
"userId"
)
String
userId
,
@RequestParam
(
"addressId"
)
String
addressId
){
Wrapper
<
YxtAddress
>
wrapper
=
new
EntityWrapper
<>();
if
(
StringUtils
.
isNotBlank
(
addressId
)){
wrapper
.
eq
(
StringUtils
.
isNotBlank
(
userId
),
"id"
,
addressId
);
}
else
{
wrapper
.
eq
(
"user_id"
,
userId
);
}
List
<
YxtAddress
>
list
=
yxtAddressMapper
.
selectList
(
wrapper
);
return
ResponseData
.
success
(
list
);
}
/**
* 获取用户地址
* @return
*/
@RequestMapping
(
"/addAddress"
)
public
ResponseData
<
List
<
YxtAddress
>>
addAddress
(
@RequestParam
(
"address"
)
String
address
){
HashMap
hashMap
=
JSON
.
parseObject
(
address
,
HashMap
.
class
);
YxtAddress
yxtAddress
=
new
YxtAddress
();
String
userId
=
hashMap
.
get
(
"userId"
).
toString
();
yxtAddress
.
setUserId
(
userId
);
String
consignee
=
hashMap
.
get
(
"consignee"
).
toString
();
if
(
StringUtils
.
isBlank
(
consignee
)){
return
ResponseData
.
error
(
"收货人不能为空!!!"
);
}
yxtAddress
.
setConsignee
(
consignee
);
String
phone
=
hashMap
.
get
(
"phone"
).
toString
();
if
(
StringUtils
.
isBlank
(
phone
)){
return
ResponseData
.
error
(
"联系电话不能为空!!!"
);
}
yxtAddress
.
setPhone
(
phone
);
String
area
=
hashMap
.
get
(
"area"
).
toString
();
if
(
StringUtils
.
isBlank
(
area
)){
return
ResponseData
.
error
(
"地址不能为空!!!"
);
}
yxtAddress
.
setArea
(
area
);
yxtAddress
.
setDetailAddress
(
hashMap
.
get
(
"detailAddress"
).
toString
());
yxtAddress
.
setUpdateDate
(
new
Date
());
Integer
num
=
yxtAddressMapper
.
insert
(
yxtAddress
);
if
(
num
==
1
){
return
ResponseData
.
success
();
}
return
ResponseData
.
error
(
"新增地址失败!!!"
);
}
}
common/src/main/java/com/winsun/bean/LzKpi.java
View file @
517b2881
...
@@ -20,36 +20,36 @@ public class LzKpi implements Serializable {
...
@@ -20,36 +20,36 @@ public class LzKpi implements Serializable {
*
*
*/
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
int
id
;
private
Integer
id
;
/**
/**
*
*
*/
*/
@TableId
(
value
=
"report_daily"
)
@TableId
(
value
=
"report_daily"
)
private
int
reportDaily
;
private
Integer
reportDaily
;
/**
/**
*
*
*/
*/
@TableId
(
value
=
"collective_sales"
)
@TableId
(
value
=
"collective_sales"
)
private
int
collectiveSales
;
private
Integer
collectiveSales
;
/**
/**
*
*
*/
*/
@TableId
(
value
=
"weekly_meeting"
)
@TableId
(
value
=
"weekly_meeting"
)
private
int
weeklyMeeting
;
private
Integer
weeklyMeeting
;
/**
/**
*
*
*/
*/
@TableId
(
value
=
"organ_training"
)
@TableId
(
value
=
"organ_training"
)
private
int
organTraining
;
private
Integer
organTraining
;
/**
/**
*
*
*/
*/
@TableId
(
value
=
"design_plan"
)
@TableId
(
value
=
"design_plan"
)
private
int
designPlan
;
private
Integer
designPlan
;
/**
/**
*
*
*/
*/
private
int
kpi
;
private
Integer
kpi
;
/**
/**
*
*
*/
*/
...
...
common/src/main/java/com/winsun/bean/LzWage.java
View file @
517b2881
...
@@ -42,22 +42,22 @@ public class LzWage implements Serializable {
...
@@ -42,22 +42,22 @@ public class LzWage implements Serializable {
* 放号薪酬
* 放号薪酬
*/
*/
@TableField
(
"recharge_wage"
)
@TableField
(
"recharge_wage"
)
private
d
ouble
rechargeWage
;
private
D
ouble
rechargeWage
;
/**
/**
* kpi总值
* kpi总值
*/
*/
@TableField
(
"kpi"
)
@TableField
(
"kpi"
)
private
d
ouble
kpi
;
private
D
ouble
kpi
;
/**
/**
* kpi薪酬
* kpi薪酬
*/
*/
@TableField
(
"kpi_wage"
)
@TableField
(
"kpi_wage"
)
private
d
ouble
kpiWage
;
private
D
ouble
kpiWage
;
/**
/**
* 总薪酬
* 总薪酬
*/
*/
@TableField
(
"wage"
)
@TableField
(
"wage"
)
private
d
ouble
wage
;
private
D
ouble
wage
;
}
}
common/src/main/java/com/winsun/bean/ManagerKpi.java
View file @
517b2881
...
@@ -44,7 +44,7 @@ public class ManagerKpi implements Serializable {
...
@@ -44,7 +44,7 @@ public class ManagerKpi implements Serializable {
*应发绩效
*应发绩效
*/
*/
@TableField
(
"yf_performance"
)
@TableField
(
"yf_performance"
)
private
d
ouble
yfPerformance
;
private
D
ouble
yfPerformance
;
/**
/**
*kpi总分
*kpi总分
*/
*/
...
@@ -74,21 +74,21 @@ public class ManagerKpi implements Serializable {
...
@@ -74,21 +74,21 @@ public class ManagerKpi implements Serializable {
* 2018年5月至今累计佣金
* 2018年5月至今累计佣金
*/
*/
@TableField
(
"total_bonus"
)
@TableField
(
"total_bonus"
)
private
d
ouble
totalBonus
;
private
D
ouble
totalBonus
;
/**
/**
* 2018年5月至今累计分成
* 2018年5月至今累计分成
*/
*/
@TableField
(
"total_fund"
)
@TableField
(
"total_fund"
)
private
d
ouble
totalFund
;
private
D
ouble
totalFund
;
/**
/**
*秋营达标奖
*秋营达标奖
*/
*/
@TableField
(
"autumn_bonus"
)
@TableField
(
"autumn_bonus"
)
private
d
ouble
autumnBonus
;
private
D
ouble
autumnBonus
;
/**
/**
*应发提成
*应发提成
*/
*/
@TableField
(
"yf_bonus"
)
@TableField
(
"yf_bonus"
)
private
d
ouble
yfBonus
;
private
D
ouble
yfBonus
;
}
}
common/src/main/java/com/winsun/bean/SalesOrder.java
View file @
517b2881
package
com
.
winsun
.
bean
;
package
com
.
winsun
.
bean
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
@Data
@Data
@TableName
(
"hhr_sales_order"
)
@TableName
(
"hhr_sales_order"
)
public
class
SalesOrder
{
public
class
SalesOrder
{
...
@@ -114,41 +113,41 @@ public class SalesOrder {
...
@@ -114,41 +113,41 @@ public class SalesOrder {
/**
/**
* 总激励
* 总激励
*/
*/
private
d
ouble
allBonus
;
private
D
ouble
allBonus
;
/**
/**
* 未发放激励
* 未发放激励
*/
*/
private
d
ouble
nonSendBonus
;
private
D
ouble
nonSendBonus
;
/**
/**
* 已发放激励
* 已发放激励
*/
*/
private
d
ouble
sendBonus
;
private
D
ouble
sendBonus
;
/**
/**
* 最近充值金额
* 最近充值金额
*/
*/
private
d
ouble
recentlyAmount
;
private
D
ouble
recentlyAmount
;
/**
/**
* 最近充值激励
* 最近充值激励
*/
*/
private
d
ouble
recentlyBonus
;
private
D
ouble
recentlyBonus
;
/**
/**
* 累计充值金额
* 累计充值金额
*/
*/
private
d
ouble
monthAmount
;
private
D
ouble
monthAmount
;
/**
/**
* 累计充值激励
* 累计充值激励
*/
*/
private
d
ouble
monthBonus
;
private
D
ouble
monthBonus
;
/**
/**
* 本金激励
* 本金激励
*/
*/
private
d
ouble
capitalBonus
;
private
D
ouble
capitalBonus
;
}
}
common/src/main/java/com/winsun/bean/YxtOrder.java
View file @
517b2881
...
@@ -43,7 +43,7 @@ public class YxtOrder implements Serializable {
...
@@ -43,7 +43,7 @@ public class YxtOrder implements Serializable {
*金额
*金额
*/
*/
@TableField
(
"total_price"
)
@TableField
(
"total_price"
)
private
d
ouble
totalPrice
;
private
D
ouble
totalPrice
;
/**
/**
*订单状态 (1:未付款 2:付款成功 3:付款失败 4:已取消订单)
*订单状态 (1:未付款 2:付款成功 3:付款失败 4:已取消订单)
*/
*/
...
@@ -68,7 +68,7 @@ public class YxtOrder implements Serializable {
...
@@ -68,7 +68,7 @@ public class YxtOrder implements Serializable {
*兑换券单价
*兑换券单价
*/
*/
@TableField
(
"unit_price"
)
@TableField
(
"unit_price"
)
private
d
ouble
unitPrice
;
private
D
ouble
unitPrice
;
/**
/**
*订单类型
*订单类型
*/
*/
...
...
common/src/main/java/com/winsun/bean/ZjlWage.java
View file @
517b2881
...
@@ -57,182 +57,182 @@ public class ZjlWage implements Serializable {
...
@@ -57,182 +57,182 @@ public class ZjlWage implements Serializable {
*岗位工资
*岗位工资
*/
*/
@TableField
(
"position_wage"
)
@TableField
(
"position_wage"
)
private
d
ouble
positionWage
;
private
D
ouble
positionWage
;
/**
/**
*绩效奖金(绩效工资+提成)
*绩效奖金(绩效工资+提成)
*/
*/
@TableField
(
"performance_bonus"
)
@TableField
(
"performance_bonus"
)
private
d
ouble
performanceBonus
;
private
D
ouble
performanceBonus
;
/**
/**
*专项奖
*专项奖
*/
*/
@TableField
(
"special_bonus"
)
@TableField
(
"special_bonus"
)
private
d
ouble
specialBonus
;
private
D
ouble
specialBonus
;
/**
/**
*年终奖
*年终奖
*/
*/
@TableField
(
"year_end_bonus"
)
@TableField
(
"year_end_bonus"
)
private
d
ouble
yearEndBonus
;
private
D
ouble
yearEndBonus
;
/**
/**
*节日费(元旦,春节,五一,十一)
*节日费(元旦,春节,五一,十一)
*/
*/
@TableField
(
"festival_fee"
)
@TableField
(
"festival_fee"
)
private
d
ouble
festivalFee
;
private
D
ouble
festivalFee
;
/**
/**
*高温补贴(6-10月)
*高温补贴(6-10月)
*/
*/
@TableField
(
"high_subsidy"
)
@TableField
(
"high_subsidy"
)
private
d
ouble
highSubsidy
;
private
D
ouble
highSubsidy
;
/**
/**
*通讯补贴
*通讯补贴
*/
*/
@TableField
(
"correspondence_subsidy"
)
@TableField
(
"correspondence_subsidy"
)
private
d
ouble
correspondenceSubsidy
;
private
D
ouble
correspondenceSubsidy
;
/**
/**
*餐费补贴
*餐费补贴
*/
*/
@TableField
(
"table_money_subsidy"
)
@TableField
(
"table_money_subsidy"
)
private
d
ouble
tableMoneySubsidy
;
private
D
ouble
tableMoneySubsidy
;
/**
/**
*交通补贴
*交通补贴
*/
*/
@TableField
(
"traffic_subsidy"
)
@TableField
(
"traffic_subsidy"
)
private
d
ouble
trafficSubsidy
;
private
D
ouble
trafficSubsidy
;
/**
/**
*专项奖(秋营奖励)
*专项奖(秋营奖励)
*/
*/
@TableField
(
"special_bonus_autumn"
)
@TableField
(
"special_bonus_autumn"
)
private
d
ouble
specialBonusAutumn
;
private
D
ouble
specialBonusAutumn
;
/**
/**
*其他补扣补退
*其他补扣补退
*/
*/
@TableField
(
"other_subsidy"
)
@TableField
(
"other_subsidy"
)
private
d
ouble
otherSubsidy
;
private
D
ouble
otherSubsidy
;
/**
/**
*应发合计
*应发合计
*/
*/
@TableField
(
"total_yf"
)
@TableField
(
"total_yf"
)
private
d
ouble
totalYf
;
private
D
ouble
totalYf
;
/**
/**
*个人养老保险
*个人养老保险
*/
*/
@TableField
(
"endowment_insurance_personal"
)
@TableField
(
"endowment_insurance_personal"
)
private
d
ouble
endowmentInsurancePersonal
;
private
D
ouble
endowmentInsurancePersonal
;
/**
/**
*个人缴纳失业保险
*个人缴纳失业保险
*/
*/
@TableField
(
"unenployment_insurance_personal"
)
@TableField
(
"unenployment_insurance_personal"
)
private
d
ouble
unenploymentInsurancePersonal
;
private
D
ouble
unenploymentInsurancePersonal
;
/**
/**
*个人缴纳医疗保险
*个人缴纳医疗保险
*/
*/
@TableField
(
"medicare_personal"
)
@TableField
(
"medicare_personal"
)
private
d
ouble
medicarePersonal
;
private
D
ouble
medicarePersonal
;
/**
/**
*个人保险小计
*个人保险小计
*/
*/
@TableField
(
"total_insurance"
)
@TableField
(
"total_insurance"
)
private
d
ouble
totalInsurance
;
private
D
ouble
totalInsurance
;
/**
/**
*个人缴纳住房公积金
*个人缴纳住房公积金
*/
*/
@TableField
(
"reserved_fund"
)
@TableField
(
"reserved_fund"
)
private
d
ouble
reservedFund
;
private
D
ouble
reservedFund
;
/**
/**
*个税
*个税
*/
*/
@TableField
(
"reserved_fund_tax"
)
@TableField
(
"reserved_fund_tax"
)
private
d
ouble
reservedFundTax
;
private
D
ouble
reservedFundTax
;
/**
/**
*年终奖个税
*年终奖个税
*/
*/
@TableField
(
"year_end_bonus_tax"
)
@TableField
(
"year_end_bonus_tax"
)
private
d
ouble
yearEndBonusTax
;
private
D
ouble
yearEndBonusTax
;
/**
/**
*个人其他补交补退
*个人其他补交补退
*/
*/
@TableField
(
"other_fee_personal"
)
@TableField
(
"other_fee_personal"
)
private
d
ouble
otherFeePersonal
;
private
D
ouble
otherFeePersonal
;
/**
/**
*个人工会费
*个人工会费
*/
*/
@TableField
(
"dues_personal"
)
@TableField
(
"dues_personal"
)
private
d
ouble
duesPersonal
;
private
D
ouble
duesPersonal
;
/**
/**
*个人缴交小计
*个人缴交小计
*/
*/
@TableField
(
"total_fee_personal"
)
@TableField
(
"total_fee_personal"
)
private
d
ouble
totalFeePersonal
;
private
D
ouble
totalFeePersonal
;
/**
/**
*实发合计
*实发合计
*/
*/
@TableField
(
"total_sf"
)
@TableField
(
"total_sf"
)
private
d
ouble
totalSf
;
private
D
ouble
totalSf
;
/**
/**
*单位养老保险
*单位养老保险
*/
*/
@TableField
(
"endowment_insurance_unit"
)
@TableField
(
"endowment_insurance_unit"
)
private
d
ouble
endowmentInsuranceUnit
;
private
D
ouble
endowmentInsuranceUnit
;
/**
/**
*单位失业保险
*单位失业保险
*/
*/
@TableField
(
"unenployment_insurance_unit"
)
@TableField
(
"unenployment_insurance_unit"
)
private
d
ouble
unenploymentInsuranceUnit
;
private
D
ouble
unenploymentInsuranceUnit
;
/**
/**
*单位医疗保险
*单位医疗保险
*/
*/
@TableField
(
"medicare_unit"
)
@TableField
(
"medicare_unit"
)
private
d
ouble
medicareUnit
;
private
D
ouble
medicareUnit
;
/**
/**
*单位工伤保险
*单位工伤保险
*/
*/
@TableField
(
"employment_injury_insurance_unit"
)
@TableField
(
"employment_injury_insurance_unit"
)
private
d
ouble
employmentInjuryInsuranceUnit
;
private
D
ouble
employmentInjuryInsuranceUnit
;
/**
/**
*单位生育保险
*单位生育保险
*/
*/
@TableField
(
"birth_insurance_unit"
)
@TableField
(
"birth_insurance_unit"
)
private
d
ouble
birthInsuranceUnit
;
private
D
ouble
birthInsuranceUnit
;
/**
/**
*重大疾病保险
*重大疾病保险
*/
*/
@TableField
(
"illness_insurance_unit"
)
@TableField
(
"illness_insurance_unit"
)
private
d
ouble
illnessInsuranceUnit
;
private
D
ouble
illnessInsuranceUnit
;
/**
/**
*单位公积金
*单位公积金
*/
*/
@TableField
(
"reserved_fund_unit"
)
@TableField
(
"reserved_fund_unit"
)
private
d
ouble
reservedFundUnit
;
private
D
ouble
reservedFundUnit
;
/**
/**
*工会计提
*工会计提
*/
*/
@TableField
(
"labor_union_fee_unit"
)
@TableField
(
"labor_union_fee_unit"
)
private
d
ouble
laborUnionFeeUnit
;
private
D
ouble
laborUnionFeeUnit
;
/**
/**
*商业意外险
*商业意外险
*/
*/
@TableField
(
"accident_insurance_unit"
)
@TableField
(
"accident_insurance_unit"
)
private
d
ouble
accidentInsuranceUnit
;
private
D
ouble
accidentInsuranceUnit
;
/**
/**
*残保金
*残保金
*/
*/
@TableField
(
"disability_insurance_unit"
)
@TableField
(
"disability_insurance_unit"
)
private
d
ouble
disabilityInsuranceUnit
;
private
D
ouble
disabilityInsuranceUnit
;
/**
/**
*单位其他补交补退
*单位其他补交补退
*/
*/
@TableField
(
"other_fee_unit"
)
@TableField
(
"other_fee_unit"
)
private
d
ouble
otherFeeUnit
;
private
D
ouble
otherFeeUnit
;
/**
/**
*单位缴交小计
*单位缴交小计
*/
*/
@TableField
(
"total_fee_unit"
)
@TableField
(
"total_fee_unit"
)
private
d
ouble
totalFeeUnit
;
private
D
ouble
totalFeeUnit
;
/**
/**
*总个人人工成本合计
*总个人人工成本合计
*/
*/
@TableField
(
"total_cast_personal"
)
@TableField
(
"total_cast_personal"
)
private
d
ouble
totalCastPersonal
;
private
D
ouble
totalCastPersonal
;
/**
/**
*附加信息
*附加信息
*/
*/
...
@@ -242,97 +242,97 @@ public class ZjlWage implements Serializable {
...
@@ -242,97 +242,97 @@ public class ZjlWage implements Serializable {
*邮电人才服务管理费(200/人)
*邮电人才服务管理费(200/人)
*/
*/
@TableField
(
"manage_fee"
)
@TableField
(
"manage_fee"
)
private
d
ouble
manageFee
;
private
D
ouble
manageFee
;
/**
/**
*单位总成本(含支出税点)
*单位总成本(含支出税点)
*/
*/
@TableField
(
"total_cast_unit"
)
@TableField
(
"total_cast_unit"
)
private
d
ouble
totalCastUnit
;
private
D
ouble
totalCastUnit
;
/**
/**
*个人缴纳养老保险2
*个人缴纳养老保险2
*/
*/
@TableField
(
"endowment_insurance_personal2"
)
@TableField
(
"endowment_insurance_personal2"
)
private
d
ouble
endowmentInsurancePersonal2
;
private
D
ouble
endowmentInsurancePersonal2
;
/**
/**
*个人缴纳失业保险2
*个人缴纳失业保险2
*/
*/
@TableField
(
"unenployment_insurance_personal2"
)
@TableField
(
"unenployment_insurance_personal2"
)
private
d
ouble
unenploymentInsurancePersonal2
;
private
D
ouble
unenploymentInsurancePersonal2
;
/**
/**
*个人缴纳医疗保险2
*个人缴纳医疗保险2
*/
*/
@TableField
(
"medicare_personal2"
)
@TableField
(
"medicare_personal2"
)
private
d
ouble
medicarePersonal2
;
private
D
ouble
medicarePersonal2
;
/**
/**
*个人缴纳住房公积金2
*个人缴纳住房公积金2
*/
*/
@TableField
(
"resvered_fund_personal2"
)
@TableField
(
"resvered_fund_personal2"
)
private
d
ouble
resveredFundPersonal2
;
private
D
ouble
resveredFundPersonal2
;
/**
/**
*单位养老保险2
*单位养老保险2
*/
*/
@TableField
(
"endowment_insurance_unit2"
)
@TableField
(
"endowment_insurance_unit2"
)
private
d
ouble
endowmentInsuranceUnit2
;
private
D
ouble
endowmentInsuranceUnit2
;
/**
/**
*单位失业保险2
*单位失业保险2
*/
*/
@TableField
(
"unenployment_insurance_unit2"
)
@TableField
(
"unenployment_insurance_unit2"
)
private
d
ouble
unenploymentInsuranceUnit2
;
private
D
ouble
unenploymentInsuranceUnit2
;
/**
/**
*单位医疗保险2
*单位医疗保险2
*/
*/
@TableField
(
"medicare_unit2"
)
@TableField
(
"medicare_unit2"
)
private
d
ouble
medicareUnit2
;
private
D
ouble
medicareUnit2
;
/**
/**
*单位工伤保险2
*单位工伤保险2
*/
*/
@TableField
(
"employment_injury_insurance_unit2"
)
@TableField
(
"employment_injury_insurance_unit2"
)
private
d
ouble
employmentInjuryInsuranceUnit2
;
private
D
ouble
employmentInjuryInsuranceUnit2
;
/**
/**
*单位生育保险2
*单位生育保险2
*/
*/
@TableField
(
"birth_insurance_unit2"
)
@TableField
(
"birth_insurance_unit2"
)
private
d
ouble
birthInsuranceUnit2
;
private
D
ouble
birthInsuranceUnit2
;
/**
/**
*重大疾病保险企业缴纳2
*重大疾病保险企业缴纳2
*/
*/
@TableField
(
"illness_insurance_unit2"
)
@TableField
(
"illness_insurance_unit2"
)
private
d
ouble
illnessInsuranceUnit2
;
private
D
ouble
illnessInsuranceUnit2
;
/**
/**
*单位住房公积金2
*单位住房公积金2
*/
*/
@TableField
(
"reserved_insurance_unit2"
)
@TableField
(
"reserved_insurance_unit2"
)
private
d
ouble
reservedInsuranceUnit2
;
private
D
ouble
reservedInsuranceUnit2
;
/**
/**
*合并计税
*合并计税
*/
*/
@TableField
(
"total_insurance_unit2"
)
@TableField
(
"total_insurance_unit2"
)
private
d
ouble
totalInsuranceUnit2
;
private
D
ouble
totalInsuranceUnit2
;
/**
/**
*本月计税工资
*本月计税工资
*/
*/
@TableField
(
"wage"
)
@TableField
(
"wage"
)
private
d
ouble
wage
;
private
D
ouble
wage
;
/**
/**
*本月抵税扣除
*本月抵税扣除
*/
*/
@TableField
(
"wage_tax"
)
@TableField
(
"wage_tax"
)
private
d
ouble
wageTax
;
private
D
ouble
wageTax
;
/**
/**
*本月工资抵税
*本月工资抵税
*/
*/
@TableField
(
"wage_tax_after"
)
@TableField
(
"wage_tax_after"
)
private
d
ouble
wageTaxAfter
;
private
D
ouble
wageTaxAfter
;
/**
/**
*年终奖应税
*年终奖应税
*/
*/
@TableField
(
"last_year_end_bonus"
)
@TableField
(
"last_year_end_bonus"
)
private
d
ouble
lastYearEndBonus
;
private
D
ouble
lastYearEndBonus
;
/**
/**
*年终奖个税计算
*年终奖个税计算
*/
*/
@TableField
(
"last_year_end_bonus_tax"
)
@TableField
(
"last_year_end_bonus_tax"
)
private
d
ouble
lastYearEndBonusTax
;
private
D
ouble
lastYearEndBonusTax
;
/**
/**
*银行账号
*银行账号
*/
*/
...
@@ -342,11 +342,11 @@ public class ZjlWage implements Serializable {
...
@@ -342,11 +342,11 @@ public class ZjlWage implements Serializable {
*督导成本
*督导成本
*/
*/
@TableField
(
"manager_cast"
)
@TableField
(
"manager_cast"
)
private
d
ouble
managerCast
;
private
D
ouble
managerCast
;
/**
/**
*学子公司成本
*学子公司成本
*/
*/
@TableField
(
"xz_company_cast"
)
@TableField
(
"xz_company_cast"
)
private
d
ouble
xzCompanyCast
;
private
D
ouble
xzCompanyCast
;
}
}
service-manager/src/main/java/com/winsun/controller/LzSalaryController.java
View file @
517b2881
...
@@ -102,10 +102,10 @@ public class LzSalaryController extends BaseController {
...
@@ -102,10 +102,10 @@ public class LzSalaryController extends BaseController {
wage
.
setUserId
(
Integer
.
valueOf
(
sysUserList
.
get
(
0
).
getId
()));
wage
.
setUserId
(
Integer
.
valueOf
(
sysUserList
.
get
(
0
).
getId
()));
wage
.
setMonth
(
hashMap
.
get
(
"month"
).
toString
());
wage
.
setMonth
(
hashMap
.
get
(
"month"
).
toString
());
wage
.
setRechargeNum
(
Integer
.
valueOf
(
hashMap
.
get
(
"rechargeNum"
).
toString
()));
wage
.
setRechargeNum
(
Integer
.
valueOf
(
hashMap
.
get
(
"rechargeNum"
).
toString
()));
wage
.
setRechargeWage
(
Integer
.
valueOf
(
hashMap
.
get
(
"rechargeWage"
).
toString
()));
wage
.
setRechargeWage
(
Double
.
valueOf
(
hashMap
.
get
(
"rechargeWage"
).
toString
()));
wage
.
setKpi
(
Integer
.
valueOf
(
hashMap
.
get
(
"kpi"
).
toString
()));
wage
.
setKpi
(
Double
.
valueOf
(
hashMap
.
get
(
"kpi"
).
toString
()));
wage
.
setKpiWage
(
Integer
.
valueOf
(
hashMap
.
get
(
"kpiWage"
).
toString
()));
wage
.
setKpiWage
(
Double
.
valueOf
(
hashMap
.
get
(
"kpiWage"
).
toString
()));
wage
.
setWage
(
Integer
.
valueOf
(
hashMap
.
get
(
"wage"
).
toString
()));
wage
.
setWage
(
Double
.
valueOf
(
hashMap
.
get
(
"wage"
).
toString
()));
lzWageMpapper
.
insert
(
wage
);
lzWageMpapper
.
insert
(
wage
);
return
ResponseData
.
success
(
"添加成功!"
);
return
ResponseData
.
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