update 更新查询sql

This commit is contained in:
Guoqs
2026-04-21 16:14:12 +08:00
parent f87f2f5176
commit d9c2e19ad1
3 changed files with 8 additions and 1 deletions

View File

@@ -100,6 +100,11 @@ public class QueryOrderDTO extends BaseEntity {
*/ */
private String endSettleTime; private String endSettleTime;
/**
* 审核标志
*/
private String reviewFlag;
/** /**
* 会员组编号 * 会员组编号
*/ */

View File

@@ -676,6 +676,7 @@ public class SettleOrderReportServiceImpl implements SettleOrderReportService {
dto.setEndSettleTime(endTime); dto.setEndSettleTime(endTime);
// 2024年1月30日13点49分 查询订单列表只查对应当前运营商的 // 2024年1月30日13点49分 查询订单列表只查对应当前运营商的
dto.setMerchantId(stationInfo.getMerchantId()); dto.setMerchantId(stationInfo.getMerchantId());
dto.setReviewFlag(Constants.ONE);
// 查询结算完成的订单 // 查询结算完成的订单
List<OrderListVO> orderListVOS = orderBasicInfoMapper.selectOrderBasicInfoList(dto); List<OrderListVO> orderListVOS = orderBasicInfoMapper.selectOrderBasicInfoList(dto);
// 收集订单编号 // 收集订单编号

View File

@@ -2005,7 +2005,8 @@
<if test="vinCode != null and vinCode != ''"> <if test="vinCode != null and vinCode != ''">
and t1.vin_code = #{vinCode,jdbcType=VARCHAR} and t1.vin_code = #{vinCode,jdbcType=VARCHAR}
</if> </if>
<if test="params != null and params.roleId != null and params.roleId > 2"> <if test="(params != null and params.roleId != null and params.roleId > 2)
or (reviewFlag != null and reviewFlag != '')">
and t1.review_flag = '1' and t1.review_flag = '1'
</if> </if>
<if test="plateNumber != null and plateNumber != ''"> <if test="plateNumber != null and plateNumber != ''">