|
|
|
@ -12,8 +12,8 @@ import com.hfkj.service.coupon.BsOrderCouponService; |
|
|
|
|
import com.hfkj.service.goods.*; |
|
|
|
|
import com.hfkj.service.order.OrderSettlementService; |
|
|
|
|
import com.hfkj.sysenum.UserLoginPlatform; |
|
|
|
|
import com.hfkj.sysenum.mer.PayPlatformEnum; |
|
|
|
|
import com.hfkj.sysenum.order.OrderPayTypeEnum; |
|
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
@ -62,7 +62,7 @@ public class OrderSettlementServiceImpl implements OrderSettlementService { |
|
|
|
|
if (map.get("finishTimeS") == null) { |
|
|
|
|
settlementModel.setTime("全时间段"); |
|
|
|
|
} else { |
|
|
|
|
settlementModel.setTime(map.get("finishTimeS") + "-" + map.get("finishTimeE")); |
|
|
|
|
settlementModel.setTime(DateUtil.date2String(DateUtil.long2Date(MapUtils.getLong(map , "finishTimeS")) , DateUtil.Y_M_D) + "-" + DateUtil.date2String(DateUtil.long2Date(MapUtils.getLong(map , "finishTimeE")) , DateUtil.Y_M_D)); |
|
|
|
|
} |
|
|
|
|
settlementModel.setPayType(key2); |
|
|
|
|
settlementModel.setBusinessType(key1); |
|
|
|
@ -97,7 +97,7 @@ public class OrderSettlementServiceImpl implements OrderSettlementService { |
|
|
|
|
if (map.get("finishTimeS") == null) { |
|
|
|
|
sumModel.setTime("全时间段"); |
|
|
|
|
} else { |
|
|
|
|
sumModel.setTime(map.get("finishTimeS") + "-" + map.get("finishTimeE")); |
|
|
|
|
sumModel.setTime(DateUtil.date2String(DateUtil.long2Date(MapUtils.getLong(map , "finishTimeS")) , DateUtil.Y_M_D) + "-" + DateUtil.date2String(DateUtil.long2Date(MapUtils.getLong(map , "finishTimeE")) , DateUtil.Y_M_D)); |
|
|
|
|
} |
|
|
|
|
sumModel.setPayType(key2); |
|
|
|
|
sumModel.setBusinessType(key1); |
|
|
|
|