|
|
|
@ -138,7 +138,7 @@ public class GoodsServiceImplTest { |
|
|
|
//委托开始时间
|
|
|
|
Timestamp ncst=new Timestamp(0l); |
|
|
|
//委托结束时间
|
|
|
|
Timestamp ncet=new Timestamp(0l); |
|
|
|
Timestamp ncet=new Timestamp(4102415999000l); |
|
|
|
if (StringUtils.isBlank(cend) && iday != null) { |
|
|
|
//如果是一次性授权或单次授权,存在托管结束时间
|
|
|
|
if (iperiod == 2) { |
|
|
|
@ -158,7 +158,8 @@ public class GoodsServiceImplTest { |
|
|
|
int fdays = festivalsMapper.countDayBetweenDays(wtStart, wtEnd, iyear); |
|
|
|
// 节假日顺延后的日期
|
|
|
|
Date fwtEnd = DateUtils.daysAgoOrAfter(wtEnd, fdays); |
|
|
|
String tmpcend = sdf.format(fwtEnd); |
|
|
|
SimpleDateFormat nsdf = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
String tmpcend = nsdf.format(fwtEnd)+" 23:59:59"; |
|
|
|
ncet=new Timestamp(sdf.parse(tmpcend).getTime()); |
|
|
|
} catch (Exception ex) { |
|
|
|
ex.printStackTrace(); |
|
|
|
|