|
|
@ -26,6 +26,8 @@ |
|
|
|
package com.yxt.supervise.portal.biz.gdinstorage; |
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import cn.hutool.core.date.DateTime; |
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import cn.hutool.json.JSONUtil; |
|
|
|
import cn.hutool.poi.excel.ExcelReader; |
|
|
@ -201,8 +203,12 @@ public class GdInstorageService extends ServiceImpl<GdInstorageMapper, GdInstora |
|
|
|
return ""; |
|
|
|
if (inOrderNo.length() < 10) |
|
|
|
return ""; |
|
|
|
String srdDate = "20" + inOrderNo.substring(4, 10); |
|
|
|
DateTime sdate = DateUtil.parse(srdDate, "yyyyMMdd"); |
|
|
|
DateTime tdate = DateUtil.offsetDay(sdate, -1); |
|
|
|
return DateUtil.format(tdate, "yyyyMMdd"); |
|
|
|
// return "20" + inOrderNo.substring(4, 10);
|
|
|
|
return "20" + inOrderNo.substring(4, 6) + "." + inOrderNo.substring(6, 8) + "." + inOrderNo.substring(8, 10); |
|
|
|
// return "20" + inOrderNo.substring(4, 6) + "." + inOrderNo.substring(6, 8) + "." + inOrderNo.substring(8, 10);
|
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|