Merge branch 'master' of http://47.115.223.229:8888/yangjun/sadjv3_java
This commit is contained in:
commit
e58c618f13
|
@ -153,7 +153,7 @@ public class ArtificerServiceImpl extends ServiceImpl<ArtificerDao, Artificer> i
|
||||||
}else{
|
}else{
|
||||||
stringBuilder.append(minuteInt);
|
stringBuilder.append(minuteInt);
|
||||||
}
|
}
|
||||||
ArtificerTime artificerTime = artificerTimeService.getOne(new QueryWrapper<ArtificerTime>().eq("artificer_id", artificer.getArtificerId()).eq("artificer_date", date).eq("artificer_time", stringBuilder.toString()));
|
ArtificerTime artificerTime = artificerTimeService.getOne(new QueryWrapper<ArtificerTime>().eq("artificer_id", artificer.getArtificerId()).eq("artificer_date", date).eq("artificer_time", stringBuilder.toString()).last(" limit 1"));
|
||||||
if(artificerTime==null){
|
if(artificerTime==null){
|
||||||
if(oldDate.equals(date)){
|
if(oldDate.equals(date)){
|
||||||
artificer.setTime(stringBuilder.toString());
|
artificer.setTime(stringBuilder.toString());
|
||||||
|
|
|
@ -655,7 +655,8 @@ public class AliPayController {
|
||||||
orders.setShopMoney(shopMoney);
|
orders.setShopMoney(shopMoney);
|
||||||
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
||||||
artificerPrice = artificerPrice.subtract(shopMoney);
|
artificerPrice = artificerPrice.subtract(shopMoney);
|
||||||
if(orders.getIsSupplement()!=null && !orders.getIsSupplement().equals(2)){
|
if(orders.getIsSupplement()!=null && orders.getIsSupplement().equals(2)){
|
||||||
|
}else{
|
||||||
//用户收益加上通行费用
|
//用户收益加上通行费用
|
||||||
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
||||||
}
|
}
|
||||||
|
@ -1588,7 +1589,8 @@ public class AliPayController {
|
||||||
orders.setShopMoney(shopMoney);
|
orders.setShopMoney(shopMoney);
|
||||||
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
||||||
artificerPrice = artificerPrice.subtract(shopMoney);
|
artificerPrice = artificerPrice.subtract(shopMoney);
|
||||||
if(orders.getIsSupplement()!=null && !orders.getIsSupplement().equals(2)){
|
if(orders.getIsSupplement()!=null && orders.getIsSupplement().equals(2)){
|
||||||
|
}else{
|
||||||
//用户收益加上通行费用
|
//用户收益加上通行费用
|
||||||
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1185,7 +1185,8 @@ public class WxServiceImpl implements WxService {
|
||||||
orders.setShopMoney(shopMoney);
|
orders.setShopMoney(shopMoney);
|
||||||
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
||||||
artificerPrice = artificerPrice.subtract(shopMoney);
|
artificerPrice = artificerPrice.subtract(shopMoney);
|
||||||
if(orders.getIsSupplement()!=null && !orders.getIsSupplement().equals(2)){
|
if(orders.getIsSupplement()!=null && orders.getIsSupplement().equals(2)){
|
||||||
|
}else{
|
||||||
//用户收益加上通行费用
|
//用户收益加上通行费用
|
||||||
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
||||||
}
|
}
|
||||||
|
@ -1826,7 +1827,8 @@ public class WxServiceImpl implements WxService {
|
||||||
orders.setShopMoney(shopMoney);
|
orders.setShopMoney(shopMoney);
|
||||||
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
artificerPrice = artificerPrice.subtract(oneArtificerMoney);
|
||||||
artificerPrice = artificerPrice.subtract(shopMoney);
|
artificerPrice = artificerPrice.subtract(shopMoney);
|
||||||
if(orders.getIsSupplement()!=null && !orders.getIsSupplement().equals(2)){
|
if(orders.getIsSupplement()!=null && orders.getIsSupplement().equals(2)){
|
||||||
|
}else{
|
||||||
//用户收益加上通行费用
|
//用户收益加上通行费用
|
||||||
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
artificerPrice = artificerPrice.add(artificerTaxiPrice);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue