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
523af857
Commit
523af857
authored
May 12, 2020
by
董有沛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://172.18.101.172:9091/dedema/gdtel-gztel-school-center.git
parents
9197a272
586d0b54
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
253 additions
and
142 deletions
+253
-142
apply-net/src/main/java/com/winsun/controller/DankuanController.java
+13
-47
apply-net/src/main/java/com/winsun/controller/RongHeController.java
+0
-0
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/Order.java
+2
-0
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
common/src/main/java/com/winsun/constant/Constant.java
+1
-1
new-user/src/main/java/com/winsun/controller/PackageNewClothes.java
+12
-3
service-manager/src/main/java/com/winsun/controller/LzSalaryController.java
+4
-4
task/src/main/java/com/winsun/TimingTask/OrderTask.java
+1
-1
task/src/main/java/com/winsun/TimingTask/RhZhiNenTask.java
+0
-0
No files found.
apply-net/src/main/java/com/winsun/controller/DankuanController.java
View file @
523af857
...
...
@@ -108,7 +108,7 @@ public class DankuanController {
* @throws Exception
*/
@RequestMapping
(
"/createProductOrder"
)
public
ResponseData
<
O
rderView
>
createProductOrder
(
@RequestParam
(
"orderName"
)
String
orderName
,
@RequestParam
(
"orderPhone"
)
String
orderPhone
,
public
ResponseData
<
O
bject
>
createProductOrder
(
@RequestParam
(
"orderName"
)
String
orderName
,
@RequestParam
(
"orderPhone"
)
String
orderPhone
,
@RequestParam
(
"orderNumber"
)
String
orderNumber
,
@RequestParam
(
"orderCustomerStudentId"
)
String
orderCustomerStudentId
,
@RequestParam
(
"orderCustomerAccount"
)
String
orderCustomerAccount
,
@RequestParam
(
"orderCustomerPwd"
)
String
orderCustomerPwd
,
@RequestParam
(
"orderSetMeal"
)
String
orderSetMeal
,
@RequestParam
(
"productId"
)
String
productId
,
...
...
@@ -179,15 +179,18 @@ public class DankuanController {
orderView
.
setCustomerId
(
"xyzxyql"
);
orderView
.
setOrderCustomerType
(
"学生"
);
if
(
webOrderAmount
.
equals
(
"0"
))
{
ResponseData
<
O
rderView
>
res
=
createOrder
(
orderView
,
partner
,
orderSeq
);
ResponseData
<
O
bject
>
res
=
createOrder
(
orderView
,
partner
,
orderSeq
);
if
(!
res
.
isSuccess
())
{
return
res
;
}
Order
order
=(
Order
)
res
.
getData
();
orderV
.
setOrderRf2
(
order
.
getId
());
}
Integer
insert
=
orderViewMapper
.
insert
(
orderView
);
if
(
insert
==
1
)
{
orderV
.
setOrderId
(
orderView
.
getOrderId
());
orderV
.
setOrderSeq
(
orderView
.
getOrderSeq
());
orderV
.
setWebOrderAmount
(
webOrderAmount
);
return
ResponseData
.
success
(
orderV
,
"订单提交完成!"
);
}
return
ResponseData
.
error
(
"提交失败!"
);
...
...
@@ -201,7 +204,7 @@ public class DankuanController {
* @return
* @throws Exception
*/
public
ResponseData
<
O
rderView
>
createOrder
(
OrderView
orderView
,
String
userId
,
String
orderseq
)
throws
Exception
{
public
ResponseData
<
O
bject
>
createOrder
(
OrderView
orderView
,
String
userId
,
String
orderseq
)
throws
Exception
{
String
uuid
=
UUID
.
randomUUID
().
toString
();
String
id
=
uuid
.
split
(
"-"
)[
0
]
+
uuid
.
split
(
"-"
)[
1
];
Order
order
=
new
Order
();
...
...
@@ -262,7 +265,7 @@ public class DankuanController {
JSONArray saleList = saleJsonObject.getJSONArray("list");
JSONObject itmeJson = JSONObject.parseObject(saleList.get(0).toString());
saleId = itmeJson.getString("saleId");*/
JSONObject
submitOrderJsonObject
=
getOrderInfo
(
schoolMap
,
orderView
,
currentTimeStr
,
productId
,
saleId
,
""
,
"
"
,
""
,
"
"
);
JSONObject
submitOrderJsonObject
=
getOrderInfo
(
schoolMap
,
orderView
,
currentTimeStr
,
productId
,
saleId
,
""
,
"
00000"
,
"0元"
,
"00000
"
);
String
orderNum
=
(
String
)
submitOrderJsonObject
.
get
(
"orderNumber"
);
if
(
StringUtils
.
isNotBlank
(
orderNum
))
{
Wrapper
<
OrderView
>
wrapper
=
new
EntityWrapper
<>();
...
...
@@ -279,7 +282,7 @@ public class DankuanController {
}
else
{
return
ResponseData
.
error
(
"智能平台订单创建失败,如有疑问请联系客服!"
);
}
return
ResponseData
.
success
(
order
View
,
"智能平台订单创建成功"
);
return
ResponseData
.
success
(
order
,
"智能平台订单创建成功"
);
}
/**
...
...
@@ -318,7 +321,6 @@ public class DankuanController {
orderViewMapper
.
updateForSet
(
MyBatisPlusUpdateUtils
.
toUpdateSet
(
dataMapping
),
wrapper
);
wrapper
.
eq
(
"orderSeq"
,
orderseq
);
orderMap
=
orderViewMapper
.
selectList
(
wrapper
).
get
(
0
);
// 根据学校名称,获取该学校信息
...
...
@@ -455,7 +457,7 @@ public class DankuanController {
//单宽回调后端接口地址
// map.put("BACKDROPURL", Constant.TOMCATURL + "/dankuan/toSubmisOrderPreser");
map
.
put
(
"BACKDROPURL"
,
"http://
yrym.winsun-aly.com/gdtel-xyzx-hhr/paymentCo
n/toSubmisOrderPreser.do"
);
map
.
put
(
"BACKDROPURL"
,
"http://
167460x6b0.51mypc.cn/ciop/dankua
n/toSubmisOrderPreser.do"
);
String
str
=
"ORDERSEQ="
+
orderView
.
getOrderSeq
()
+
"&ORDERDATE="
+
ft
.
format
(
orderdate
)
+
"&ORDERAMOUNT="
+
orderView
.
getWebOrderAmount
()
+
"&KEY="
+
Constant
.
KEY
;
//商户标识
...
...
@@ -699,13 +701,6 @@ public class DankuanController {
qParams
.
add
(
new
BasicNameValuePair
(
"addressCity"
,
"广州市"
));
//报装地址城市,必填
signMap
.
put
(
"addressCity"
,
"广州市"
);
qParams
.
add
(
new
BasicNameValuePair
(
"deliveryProvince"
,
"广东省"
));
// 配送地址-省,必填
signMap
.
put
(
"deliveryProvince"
,
"广东省"
);
qParams
.
add
(
new
BasicNameValuePair
(
"deliveryCity"
,
"广州市"
));
// 配送地址-市,必填
signMap
.
put
(
"deliveryCity"
,
"广州市"
);
String
addressDistrict
=
null
;
String
address
=
null
;
String
addressID
=
null
;
...
...
@@ -755,19 +750,11 @@ public class DankuanController {
signMap
.
put
(
"addressDistrict"
,
addressDistrict
);
qParams
.
add
(
new
BasicNameValuePair
(
"address"
,
address
));
//报装详细地址,必填
signMap
.
put
(
"address"
,
address
);
qParams
.
add
(
new
BasicNameValuePair
(
"deliveryDistrict"
,
addressDistrict
));
// 配送地址-区,必填
signMap
.
put
(
"deliveryDistrict"
,
addressDistrict
);
qParams
.
add
(
new
BasicNameValuePair
(
"deliveryAddress"
,
address
));
// 配送地址-详细地址,必填
signMap
.
put
(
"deliveryAddress"
,
address
);
qParams
.
add
(
new
BasicNameValuePair
(
"deliveryContact"
,
orderMap
.
getOrderName
()));
//报装联系人,必填
signMap
.
put
(
"deliveryContact"
,
orderMap
.
getOrderName
());
qParams
.
add
(
new
BasicNameValuePair
(
"deliveryContactPhone"
,
orderMap
.
getOrderPhone
()));
//报装联系电话,必填
signMap
.
put
(
"deliveryContactPhone"
,
orderMap
.
getOrderPhone
());
qParams
.
add
(
new
BasicNameValuePair
(
"invoiced"
,
"0"
));
//是否需要发票 0:否 1:是,必填
signMap
.
put
(
"invoiced"
,
"0"
);
qParams
.
add
(
new
BasicNameValuePair
(
"invoiceTitle"
,
""
));
//若需要发票,发票抬头,必填
...
...
@@ -816,34 +803,13 @@ public class DankuanController {
paymentMap
.
put
(
"bank"
,
""
);
//缴费银行,缴费方式为“银行划账”时必填 :[中国银行|中国工商银行|中国农业银行|民生银行|招商银行|中信银行|商业银行|广东发展银行|光大银行|华夏银行|兴业银行|浦发银行|广州农村商业银行|广州银行|深圳发展银行|交通银行|中国建设银行|邮政储蓄]
paymentMap
.
put
(
"bankNumber"
,
""
);
//银行账号,缴费方式为“银行划账”时必填
paymentMap
.
put
(
"bankOwner"
,
""
);
////银行账号持有人,缴费方式为“银行划账”时必填
String
payPlatform
=
orderMap
.
getIPay
();
if
(
StringUtils
.
isNotBlank
(
payPlatform
))
{
if
(
"1"
.
equals
(
payPlatform
))
{
paymentMap
.
put
(
"payPlatform"
,
"支付宝"
);
//支付平台,缴费方式为“穗易付”时必填
}
else
{
paymentMap
.
put
(
"payPlatform"
,
"微信"
);
//支付平台,缴费方式为“穗易付”时必填
}
}
else
{
paymentMap
.
put
(
"payPlatform"
,
"穗易付"
);
//支付平台,缴费方式为“穗易付”时必填
}
if
(
StringUtils
.
isNotBlank
(
UPTRANSEQ
))
{
paymentMap
.
put
(
"electronicPayNumber"
,
UPTRANSEQ
);
//支付流水号,缴费方式为“穗易付”时必填
}
else
{
paymentMap
.
put
(
"electronicPayNumber"
,
""
);
//支付流水号,缴费方式为“穗易付”时必填
}
if
(
StringUtils
.
isNotBlank
(
ORDERREQTRANSEQ
))
{
paymentMap
.
put
(
"payOrderNumber"
,
ORDERREQTRANSEQ
);
// 穗易付订单号,若选择穗易付,此项必填
}
else
{
paymentMap
.
put
(
"payOrderNumber"
,
""
);
// 穗易付订单号,若选择穗易付,此项必填
}
if
(
StringUtils
.
isNotBlank
(
ORDERAMOUNT
))
{
paymentMap
.
put
(
"payAmount"
,
ORDERAMOUNT
);
//缴费金额(打款金额),缴费方式为“代理商打款”或“穗易付”时必填
}
else
{
paymentMap
.
put
(
"payAmount"
,
""
);
//缴费金额(打款金额),缴费方式为“代理商打款”或“穗易付”时必填
}
paymentMap
.
put
(
"payPlatform"
,
""
);
paymentMap
.
put
(
"electronicPayNumber"
,
""
);
//支付流水号,缴费方式为“穗易付”时必填
paymentMap
.
put
(
"payOrderNumber"
,
""
);
// 穗易付订单号,若选择穗易付,此项必填
paymentMap
.
put
(
"alipayUserid"
,
""
);
//用户ID,缴费方式为“支付宝支付”时必填
paymentMap
.
put
(
"alipayNumber"
,
""
);
//支付宝账号,缴费方式为“支付宝支付”时必填
paymentMap
.
put
(
"alipayAuthNumber"
,
""
);
//授权协议号,缴费方式为“支付宝支付”时必填
paymentMap
.
put
(
"payAmount"
,
""
);
//缴费金额(打款金额),缴费方式为“代理商打款”或“穗易付”时必填
paymentList
.
add
(
paymentMap
);
//产品自定义属性;暂时默认属性名称只能传“日租卡号码”
Map
<
String
,
String
>
propertyMap
=
new
HashMap
<
String
,
String
>();
...
...
apply-net/src/main/java/com/winsun/controller/RongHeController.java
View file @
523af857
This diff is collapsed.
Click to expand it.
apply-net/src/main/java/com/winsun/controller/YxtCardController.java
0 → 100644
View file @
523af857
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 @
523af857
...
...
@@ -20,36 +20,36 @@ public class LzKpi implements Serializable {
*
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
int
id
;
private
Integer
id
;
/**
*
*/
@TableId
(
value
=
"report_daily"
)
private
int
reportDaily
;
private
Integer
reportDaily
;
/**
*
*/
@TableId
(
value
=
"collective_sales"
)
private
int
collectiveSales
;
private
Integer
collectiveSales
;
/**
*
*/
@TableId
(
value
=
"weekly_meeting"
)
private
int
weeklyMeeting
;
private
Integer
weeklyMeeting
;
/**
*
*/
@TableId
(
value
=
"organ_training"
)
private
int
organTraining
;
private
Integer
organTraining
;
/**
*
*/
@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 @
523af857
...
...
@@ -42,22 +42,22 @@ public class LzWage implements Serializable {
* 放号薪酬
*/
@TableField
(
"recharge_wage"
)
private
d
ouble
rechargeWage
;
private
D
ouble
rechargeWage
;
/**
* kpi总值
*/
@TableField
(
"kpi"
)
private
d
ouble
kpi
;
private
D
ouble
kpi
;
/**
* kpi薪酬
*/
@TableField
(
"kpi_wage"
)
private
d
ouble
kpiWage
;
private
D
ouble
kpiWage
;
/**
* 总薪酬
*/
@TableField
(
"wage"
)
private
d
ouble
wage
;
private
D
ouble
wage
;
}
common/src/main/java/com/winsun/bean/ManagerKpi.java
View file @
523af857
...
...
@@ -44,7 +44,7 @@ public class ManagerKpi implements Serializable {
*应发绩效
*/
@TableField
(
"yf_performance"
)
private
d
ouble
yfPerformance
;
private
D
ouble
yfPerformance
;
/**
*kpi总分
*/
...
...
@@ -74,21 +74,21 @@ public class ManagerKpi implements Serializable {
* 2018年5月至今累计佣金
*/
@TableField
(
"total_bonus"
)
private
d
ouble
totalBonus
;
private
D
ouble
totalBonus
;
/**
* 2018年5月至今累计分成
*/
@TableField
(
"total_fund"
)
private
d
ouble
totalFund
;
private
D
ouble
totalFund
;
/**
*秋营达标奖
*/
@TableField
(
"autumn_bonus"
)
private
d
ouble
autumnBonus
;
private
D
ouble
autumnBonus
;
/**
*应发提成
*/
@TableField
(
"yf_bonus"
)
private
d
ouble
yfBonus
;
private
D
ouble
yfBonus
;
}
common/src/main/java/com/winsun/bean/Order.java
View file @
523af857
...
...
@@ -315,6 +315,8 @@ public class Order implements Serializable{
*/
private
String
parentName
;
private
Date
rhTime
;
...
...
common/src/main/java/com/winsun/bean/SalesOrder.java
View file @
523af857
package
com
.
winsun
.
bean
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
lombok.Data
;
import
java.util.Date
;
@Data
@TableName
(
"hhr_sales_order"
)
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 @
523af857
...
...
@@ -43,7 +43,7 @@ public class YxtOrder implements Serializable {
*金额
*/
@TableField
(
"total_price"
)
private
d
ouble
totalPrice
;
private
D
ouble
totalPrice
;
/**
*订单状态 (1:未付款 2:付款成功 3:付款失败 4:已取消订单)
*/
...
...
@@ -68,7 +68,7 @@ public class YxtOrder implements Serializable {
*兑换券单价
*/
@TableField
(
"unit_price"
)
private
d
ouble
unitPrice
;
private
D
ouble
unitPrice
;
/**
*订单类型
*/
...
...
common/src/main/java/com/winsun/bean/ZjlWage.java
View file @
523af857
...
...
@@ -57,182 +57,182 @@ public class ZjlWage implements Serializable {
*岗位工资
*/
@TableField
(
"position_wage"
)
private
d
ouble
positionWage
;
private
D
ouble
positionWage
;
/**
*绩效奖金(绩效工资+提成)
*/
@TableField
(
"performance_bonus"
)
private
d
ouble
performanceBonus
;
private
D
ouble
performanceBonus
;
/**
*专项奖
*/
@TableField
(
"special_bonus"
)
private
d
ouble
specialBonus
;
private
D
ouble
specialBonus
;
/**
*年终奖
*/
@TableField
(
"year_end_bonus"
)
private
d
ouble
yearEndBonus
;
private
D
ouble
yearEndBonus
;
/**
*节日费(元旦,春节,五一,十一)
*/
@TableField
(
"festival_fee"
)
private
d
ouble
festivalFee
;
private
D
ouble
festivalFee
;
/**
*高温补贴(6-10月)
*/
@TableField
(
"high_subsidy"
)
private
d
ouble
highSubsidy
;
private
D
ouble
highSubsidy
;
/**
*通讯补贴
*/
@TableField
(
"correspondence_subsidy"
)
private
d
ouble
correspondenceSubsidy
;
private
D
ouble
correspondenceSubsidy
;
/**
*餐费补贴
*/
@TableField
(
"table_money_subsidy"
)
private
d
ouble
tableMoneySubsidy
;
private
D
ouble
tableMoneySubsidy
;
/**
*交通补贴
*/
@TableField
(
"traffic_subsidy"
)
private
d
ouble
trafficSubsidy
;
private
D
ouble
trafficSubsidy
;
/**
*专项奖(秋营奖励)
*/
@TableField
(
"special_bonus_autumn"
)
private
d
ouble
specialBonusAutumn
;
private
D
ouble
specialBonusAutumn
;
/**
*其他补扣补退
*/
@TableField
(
"other_subsidy"
)
private
d
ouble
otherSubsidy
;
private
D
ouble
otherSubsidy
;
/**
*应发合计
*/
@TableField
(
"total_yf"
)
private
d
ouble
totalYf
;
private
D
ouble
totalYf
;
/**
*个人养老保险
*/
@TableField
(
"endowment_insurance_personal"
)
private
d
ouble
endowmentInsurancePersonal
;
private
D
ouble
endowmentInsurancePersonal
;
/**
*个人缴纳失业保险
*/
@TableField
(
"unenployment_insurance_personal"
)
private
d
ouble
unenploymentInsurancePersonal
;
private
D
ouble
unenploymentInsurancePersonal
;
/**
*个人缴纳医疗保险
*/
@TableField
(
"medicare_personal"
)
private
d
ouble
medicarePersonal
;
private
D
ouble
medicarePersonal
;
/**
*个人保险小计
*/
@TableField
(
"total_insurance"
)
private
d
ouble
totalInsurance
;
private
D
ouble
totalInsurance
;
/**
*个人缴纳住房公积金
*/
@TableField
(
"reserved_fund"
)
private
d
ouble
reservedFund
;
private
D
ouble
reservedFund
;
/**
*个税
*/
@TableField
(
"reserved_fund_tax"
)
private
d
ouble
reservedFundTax
;
private
D
ouble
reservedFundTax
;
/**
*年终奖个税
*/
@TableField
(
"year_end_bonus_tax"
)
private
d
ouble
yearEndBonusTax
;
private
D
ouble
yearEndBonusTax
;
/**
*个人其他补交补退
*/
@TableField
(
"other_fee_personal"
)
private
d
ouble
otherFeePersonal
;
private
D
ouble
otherFeePersonal
;
/**
*个人工会费
*/
@TableField
(
"dues_personal"
)
private
d
ouble
duesPersonal
;
private
D
ouble
duesPersonal
;
/**
*个人缴交小计
*/
@TableField
(
"total_fee_personal"
)
private
d
ouble
totalFeePersonal
;
private
D
ouble
totalFeePersonal
;
/**
*实发合计
*/
@TableField
(
"total_sf"
)
private
d
ouble
totalSf
;
private
D
ouble
totalSf
;
/**
*单位养老保险
*/
@TableField
(
"endowment_insurance_unit"
)
private
d
ouble
endowmentInsuranceUnit
;
private
D
ouble
endowmentInsuranceUnit
;
/**
*单位失业保险
*/
@TableField
(
"unenployment_insurance_unit"
)
private
d
ouble
unenploymentInsuranceUnit
;
private
D
ouble
unenploymentInsuranceUnit
;
/**
*单位医疗保险
*/
@TableField
(
"medicare_unit"
)
private
d
ouble
medicareUnit
;
private
D
ouble
medicareUnit
;
/**
*单位工伤保险
*/
@TableField
(
"employment_injury_insurance_unit"
)
private
d
ouble
employmentInjuryInsuranceUnit
;
private
D
ouble
employmentInjuryInsuranceUnit
;
/**
*单位生育保险
*/
@TableField
(
"birth_insurance_unit"
)
private
d
ouble
birthInsuranceUnit
;
private
D
ouble
birthInsuranceUnit
;
/**
*重大疾病保险
*/
@TableField
(
"illness_insurance_unit"
)
private
d
ouble
illnessInsuranceUnit
;
private
D
ouble
illnessInsuranceUnit
;
/**
*单位公积金
*/
@TableField
(
"reserved_fund_unit"
)
private
d
ouble
reservedFundUnit
;
private
D
ouble
reservedFundUnit
;
/**
*工会计提
*/
@TableField
(
"labor_union_fee_unit"
)
private
d
ouble
laborUnionFeeUnit
;
private
D
ouble
laborUnionFeeUnit
;
/**
*商业意外险
*/
@TableField
(
"accident_insurance_unit"
)
private
d
ouble
accidentInsuranceUnit
;
private
D
ouble
accidentInsuranceUnit
;
/**
*残保金
*/
@TableField
(
"disability_insurance_unit"
)
private
d
ouble
disabilityInsuranceUnit
;
private
D
ouble
disabilityInsuranceUnit
;
/**
*单位其他补交补退
*/
@TableField
(
"other_fee_unit"
)
private
d
ouble
otherFeeUnit
;
private
D
ouble
otherFeeUnit
;
/**
*单位缴交小计
*/
@TableField
(
"total_fee_unit"
)
private
d
ouble
totalFeeUnit
;
private
D
ouble
totalFeeUnit
;
/**
*总个人人工成本合计
*/
@TableField
(
"total_cast_personal"
)
private
d
ouble
totalCastPersonal
;
private
D
ouble
totalCastPersonal
;
/**
*附加信息
*/
...
...
@@ -242,97 +242,97 @@ public class ZjlWage implements Serializable {
*邮电人才服务管理费(200/人)
*/
@TableField
(
"manage_fee"
)
private
d
ouble
manageFee
;
private
D
ouble
manageFee
;
/**
*单位总成本(含支出税点)
*/
@TableField
(
"total_cast_unit"
)
private
d
ouble
totalCastUnit
;
private
D
ouble
totalCastUnit
;
/**
*个人缴纳养老保险2
*/
@TableField
(
"endowment_insurance_personal2"
)
private
d
ouble
endowmentInsurancePersonal2
;
private
D
ouble
endowmentInsurancePersonal2
;
/**
*个人缴纳失业保险2
*/
@TableField
(
"unenployment_insurance_personal2"
)
private
d
ouble
unenploymentInsurancePersonal2
;
private
D
ouble
unenploymentInsurancePersonal2
;
/**
*个人缴纳医疗保险2
*/
@TableField
(
"medicare_personal2"
)
private
d
ouble
medicarePersonal2
;
private
D
ouble
medicarePersonal2
;
/**
*个人缴纳住房公积金2
*/
@TableField
(
"resvered_fund_personal2"
)
private
d
ouble
resveredFundPersonal2
;
private
D
ouble
resveredFundPersonal2
;
/**
*单位养老保险2
*/
@TableField
(
"endowment_insurance_unit2"
)
private
d
ouble
endowmentInsuranceUnit2
;
private
D
ouble
endowmentInsuranceUnit2
;
/**
*单位失业保险2
*/
@TableField
(
"unenployment_insurance_unit2"
)
private
d
ouble
unenploymentInsuranceUnit2
;
private
D
ouble
unenploymentInsuranceUnit2
;
/**
*单位医疗保险2
*/
@TableField
(
"medicare_unit2"
)
private
d
ouble
medicareUnit2
;
private
D
ouble
medicareUnit2
;
/**
*单位工伤保险2
*/
@TableField
(
"employment_injury_insurance_unit2"
)
private
d
ouble
employmentInjuryInsuranceUnit2
;
private
D
ouble
employmentInjuryInsuranceUnit2
;
/**
*单位生育保险2
*/
@TableField
(
"birth_insurance_unit2"
)
private
d
ouble
birthInsuranceUnit2
;
private
D
ouble
birthInsuranceUnit2
;
/**
*重大疾病保险企业缴纳2
*/
@TableField
(
"illness_insurance_unit2"
)
private
d
ouble
illnessInsuranceUnit2
;
private
D
ouble
illnessInsuranceUnit2
;
/**
*单位住房公积金2
*/
@TableField
(
"reserved_insurance_unit2"
)
private
d
ouble
reservedInsuranceUnit2
;
private
D
ouble
reservedInsuranceUnit2
;
/**
*合并计税
*/
@TableField
(
"total_insurance_unit2"
)
private
d
ouble
totalInsuranceUnit2
;
private
D
ouble
totalInsuranceUnit2
;
/**
*本月计税工资
*/
@TableField
(
"wage"
)
private
d
ouble
wage
;
private
D
ouble
wage
;
/**
*本月抵税扣除
*/
@TableField
(
"wage_tax"
)
private
d
ouble
wageTax
;
private
D
ouble
wageTax
;
/**
*本月工资抵税
*/
@TableField
(
"wage_tax_after"
)
private
d
ouble
wageTaxAfter
;
private
D
ouble
wageTaxAfter
;
/**
*年终奖应税
*/
@TableField
(
"last_year_end_bonus"
)
private
d
ouble
lastYearEndBonus
;
private
D
ouble
lastYearEndBonus
;
/**
*年终奖个税计算
*/
@TableField
(
"last_year_end_bonus_tax"
)
private
d
ouble
lastYearEndBonusTax
;
private
D
ouble
lastYearEndBonusTax
;
/**
*银行账号
*/
...
...
@@ -342,11 +342,11 @@ public class ZjlWage implements Serializable {
*督导成本
*/
@TableField
(
"manager_cast"
)
private
d
ouble
managerCast
;
private
D
ouble
managerCast
;
/**
*学子公司成本
*/
@TableField
(
"xz_company_cast"
)
private
d
ouble
xzCompanyCast
;
private
D
ouble
xzCompanyCast
;
}
common/src/main/java/com/winsun/constant/Constant.java
View file @
523af857
...
...
@@ -27,7 +27,7 @@ public class Constant {
public
final
static
String
ZHANGSHIKEY
=
"3df143292455bfea88bc613c53004d36"
;
//智能平台提供的正式key
// public final static String ZHENGSHIAUCCON = "xiaoykd"; //智能平台提供的正式账号
// public final static String ZHANGSHIKEY = "d345040accff0421d03f760a03e5cbd9"; //智能平台提供的正式key
public
final
static
String
ZHANGSHIURL
=
"https://ismart
bak
.mini189.cn/api/"
;
//智能平台提供的正式key
public
final
static
String
ZHANGSHIURL
=
"https://ismart.mini189.cn/api/"
;
//智能平台提供的正式key
public
final
static
String
PRODUCTCATEGORY
=
"单宽带"
;
//只能平台提供的key
// public final static String TOMCATURL = "http://183.57.78.132:8080"; //Linux外网服务器地址
// public final static String INTRANETURL = "http://10.3.1.21:8080"; //Linux内网服务器地址
...
...
new-user/src/main/java/com/winsun/controller/PackageNewClothes.java
View file @
523af857
...
...
@@ -142,7 +142,7 @@ public class PackageNewClothes {
,
@RequestParam
(
"customerName"
)
String
customerName
,
@RequestParam
(
"partner"
)
String
partner
,
@RequestParam
(
value
=
"idCardzs"
)
String
idCardzs
,
@RequestParam
(
value
=
"idCardz"
)
String
idCardz
,
@RequestParam
(
value
=
"idCardf"
)
String
idCardf
,
@RequestParam
(
value
=
"remarks"
,
required
=
false
)
String
remarks
,
@RequestParam
(
value
=
"kapin"
)
String
kapin
,
@RequestParam
(
value
=
"idCard"
)
String
idCard
,
@RequestParam
(
value
=
"userSchool"
)
String
userSchool
,
@RequestParam
(
value
=
"isFromRh"
)
String
isFromRh
)
{
,
@RequestParam
(
value
=
"idCard"
)
String
idCard
,
@RequestParam
(
value
=
"userSchool"
)
String
userSchool
,
@RequestParam
(
value
=
"isFromRh"
,
required
=
false
)
String
isFromRh
)
{
if
(
contactNumber
.
length
()
!=
11
)
{
return
ResponseData
.
error
(
"联系号码有误,请重新输入"
);
}
...
...
@@ -175,6 +175,9 @@ public class PackageNewClothes {
Order
order
=
new
Order
();
String
uuid
=
UUID
.
randomUUID
().
toString
();
String
id
=
uuid
.
split
(
"-"
)[
0
]+
uuid
.
split
(
"-"
)[
1
];
if
(
isFromRh
.
equals
(
"true"
)){
order
.
setUserBussinessType
(
"5"
);
}
order
.
setId
(
id
);
order
.
setIdCard
(
idCard
);
order
.
setOrderStatus
(
"待处理"
);
...
...
@@ -247,7 +250,7 @@ public class PackageNewClothes {
,
@RequestParam
(
value
=
"parentName"
)
String
parentName
,
@RequestParam
(
value
=
"idCardf"
)
String
idCardf
,
@RequestParam
(
value
=
"remarks"
,
required
=
false
)
String
remarks
,
@RequestParam
(
value
=
"kapin"
)
String
kapin
,
@RequestParam
(
value
=
"idCard"
)
String
idCard
,
@RequestParam
(
value
=
"studentNumber"
)
String
studentNumber
,
@RequestParam
(
value
=
"userSchool"
)
String
userSchool
,
@RequestParam
(
value
=
"isFromRh"
)
String
isFromRh
)
{
,
@RequestParam
(
value
=
"userSchool"
)
String
userSchool
,
@RequestParam
(
value
=
"isFromRh"
,
required
=
false
)
String
isFromRh
)
{
if
(
contactNumber
.
length
()
!=
11
)
{
return
ResponseData
.
error
(
"联系号码有误,请重新输入"
);
...
...
@@ -282,6 +285,9 @@ public class PackageNewClothes {
String
uuid
=
UUID
.
randomUUID
().
toString
();
String
id
=
uuid
.
split
(
"-"
)[
0
]+
uuid
.
split
(
"-"
)[
1
];
order
.
setId
(
id
);
if
(
isFromRh
.
equals
(
"true"
)){
order
.
setUserBussinessType
(
"5"
);
}
order
.
setIdCard
(
idCard
);
order
.
setOrderStatus
(
"待处理"
);
order
.
setUserSchool
(
userSchool
);
...
...
@@ -348,7 +354,7 @@ public class PackageNewClothes {
,
@RequestParam
(
"studentCard"
)
String
studentCard
,
@RequestParam
(
"cardId"
)
String
cardId
,
@RequestParam
(
value
=
"addRess"
,
required
=
false
)
String
addRess
,
@RequestParam
(
"customerName"
)
String
customerName
,
@RequestParam
(
"partner"
)
String
partner
,
@RequestParam
(
"businessNumber"
)
String
businessNumber
,
@RequestParam
(
value
=
"remarks"
,
required
=
false
)
String
remarks
,
@RequestParam
(
value
=
"kapin"
)
String
kapin
,
@RequestParam
(
value
=
"idCard"
)
String
idCard
,
@RequestParam
(
value
=
"userSchool"
)
String
userSchool
,
@RequestParam
(
value
=
"isFromRh"
)
String
isFromRh
)
{
,
@RequestParam
(
value
=
"idCard"
)
String
idCard
,
@RequestParam
(
value
=
"userSchool"
)
String
userSchool
,
@RequestParam
(
value
=
"isFromRh"
,
required
=
false
)
String
isFromRh
)
{
if
(
contactNumber
.
length
()
!=
11
)
{
return
ResponseData
.
error
(
"联系号码有误,请重新输入"
);
}
...
...
@@ -404,6 +410,9 @@ public class PackageNewClothes {
Order
order
=
new
Order
();
String
uuid
=
UUID
.
randomUUID
().
toString
();
String
id
=
uuid
.
split
(
"-"
)[
0
]+
uuid
.
split
(
"-"
)[
1
];
if
(
isFromRh
.
equals
(
"true"
)){
order
.
setUserBussinessType
(
"5"
);
}
order
.
setId
(
id
);
order
.
setIdCard
(
idCard
);
order
.
setXbOrderId
(
map
.
get
(
"orderCode"
).
toString
());
...
...
service-manager/src/main/java/com/winsun/controller/LzSalaryController.java
View file @
523af857
...
...
@@ -102,10 +102,10 @@ public class LzSalaryController extends BaseController {
wage
.
setUserId
(
Integer
.
valueOf
(
sysUserList
.
get
(
0
).
getId
()));
wage
.
setMonth
(
hashMap
.
get
(
"month"
).
toString
());
wage
.
setRechargeNum
(
Integer
.
valueOf
(
hashMap
.
get
(
"rechargeNum"
).
toString
()));
wage
.
setRechargeWage
(
Integer
.
valueOf
(
hashMap
.
get
(
"rechargeWage"
).
toString
()));
wage
.
setKpi
(
Integer
.
valueOf
(
hashMap
.
get
(
"kpi"
).
toString
()));
wage
.
setKpiWage
(
Integer
.
valueOf
(
hashMap
.
get
(
"kpiWage"
).
toString
()));
wage
.
setWage
(
Integer
.
valueOf
(
hashMap
.
get
(
"wage"
).
toString
()));
wage
.
setRechargeWage
(
Double
.
valueOf
(
hashMap
.
get
(
"rechargeWage"
).
toString
()));
wage
.
setKpi
(
Double
.
valueOf
(
hashMap
.
get
(
"kpi"
).
toString
()));
wage
.
setKpiWage
(
Double
.
valueOf
(
hashMap
.
get
(
"kpiWage"
).
toString
()));
wage
.
setWage
(
Double
.
valueOf
(
hashMap
.
get
(
"wage"
).
toString
()));
lzWageMpapper
.
insert
(
wage
);
return
ResponseData
.
success
(
"添加成功!"
);
}
...
...
task/src/main/java/com/winsun/TimingTask/OrderTask.java
View file @
523af857
...
...
@@ -36,7 +36,7 @@ public class OrderTask {
}
@Scheduled
(
cron
=
"0
15 1
0 * * ? "
)
@Scheduled
(
cron
=
"0
0
0 * * ? "
)
//@Scheduled(cron = "0/5 * * * * ? ")
//@Scheduled(fixedRate=1000*60)
@PostMapping
(
"/orderTask"
)
...
...
task/src/main/java/com/winsun/TimingTask/RhZhiNenTask.java
0 → 100644
View file @
523af857
This diff is collapsed.
Click to expand it.
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