|
|
@@ -81,6 +81,7 @@ import com.ydtech.modules.scheme.entity.vo.RuleFilterVo;
|
|
|
import com.ydtech.modules.scheme.service.PtlSchemeRulesService;
|
|
|
import com.ydtech.utils.SnowFlakeUtil;
|
|
|
import com.ydtech.utils.idgen.IdGenerate;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.InvalidPropertyException;
|
|
|
@@ -1537,6 +1538,7 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
@Override
|
|
|
public BasePageResult<InsOrders> queryPageOrderByLinkType(OrderQueryVo orderQueryVo, int type) {
|
|
|
//添加收回按钮的操作
|
|
|
+
|
|
|
Boolean flag = false;
|
|
|
Page<InsOrders> page = new Page<>(orderQueryVo.getPageNum(), orderQueryVo.getPageSize());
|
|
|
page.setSearchCount(false).setOptimizeCountSql(false);//关闭count查询
|
|
|
@@ -2490,8 +2492,10 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
String signStartDateStr = orderQueryVo.getSignStartDateStr();
|
|
|
String signEndDateStr = orderQueryVo.getSignEndDateStr();
|
|
|
|
|
|
- if (StringUtils.isEmpty(signStartDateStr) || StringUtils.isEmpty(signEndDateStr)) {
|
|
|
- throw new SystemException("1.导出数据时,签单时间必填;2.选择的签单时间(开始日期-结束日期)>30天,导出时,按结束时间往前+30天的数据做导出");
|
|
|
+ String quoteStartDateStr = orderQueryVo.getQuoteStartDateStr();
|
|
|
+ String quoteEndDateStr = orderQueryVo.getQuoteEndDateStr();
|
|
|
+ if ((StringUtils.isEmpty(signStartDateStr) || StringUtils.isEmpty(signEndDateStr)) || (StringUtils.isEmpty(quoteStartDateStr) || StringUtils.isEmpty(quoteEndDateStr))) {
|
|
|
+ throw new SystemException("1.导出数据时,签单时间 或者 录单时间必填;2.选择的签单时间 或 录单时间 (开始日期-结束日期)>30天,导出时,按结束时间往前+30天的数据做导出");
|
|
|
}
|
|
|
|
|
|
final int day = 30;
|