开业筹备阶段1.0
This commit is contained in:
@@ -43,17 +43,15 @@
|
||||
FROM xfsg_opening_operation_plan op
|
||||
JOIN xfsg_shop_info si ON op.shop_id = si.id
|
||||
where
|
||||
<if test="shopId != null and shopId.size >0 ">
|
||||
<foreach item="shopId" index="index" collection="shopIdList" open="(" separator="," close=")">
|
||||
#{shopId}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="openingOperationPlanDTO.planStartDate != null">
|
||||
AND DATE(op.create_time) >= #{openingOperationPlanDTO.planStartDate}
|
||||
op.create_time >= #{openingOperationPlanDTO.planStartDate}
|
||||
</if>
|
||||
<if test="openingOperationPlanDTO.planEndDate != null">
|
||||
<![CDATA[AND DATE(op.create_time) <= #{openingOperationPlanDTO.planEndDate}]]>
|
||||
<![CDATA[AND op.create_time <= #{openingOperationPlanDTO.planEndDate}]]>
|
||||
</if>
|
||||
<if test="openingOperationPlanDTO.resultType != null">
|
||||
and op.result_type = #{openingOperationPlanDTO.resultType}
|
||||
</if>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user