|
|
@ -1,6 +1,7 @@
|
|
|
|
package com.dsic.gj_erp.service.jhgk.impl;
|
|
|
|
package com.dsic.gj_erp.service.jhgk.impl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
|
import cn.hutool.poi.excel.ExcelReader;
|
|
|
|
import cn.hutool.poi.excel.ExcelReader;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
@ -52,7 +53,7 @@ public class DmZrcjhServiceImpl extends ServiceImpl<DmZrcjhMapper, DmZrcjh> impl
|
|
|
|
String time = json.getString("gjks");
|
|
|
|
String time = json.getString("gjks");
|
|
|
|
String startTime = time.split("~")[0];
|
|
|
|
String startTime = time.split("~")[0];
|
|
|
|
String endTime = time.split("~")[1];
|
|
|
|
String endTime = time.split("~")[1];
|
|
|
|
queryWrapper.between("gjks", startTime, endTime);
|
|
|
|
queryWrapper.between("gjks", DateUtil.parse(startTime,"yyyy/MM/dd"), DateUtil.parse(endTime,"yyyy/MM/dd"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (StringUtils.isNotEmpty(json.getString("Zt"))) {
|
|
|
|
if (StringUtils.isNotEmpty(json.getString("Zt"))) {
|
|
|
|
queryWrapper.eq("zt", json.getString("Zt"));
|
|
|
|
queryWrapper.eq("zt", json.getString("Zt"));
|
|
|
|