开业筹备阶段1.0

This commit is contained in:
shuo.wang
2024-04-25 20:03:27 +08:00
parent 54f4dc7f77
commit 1e170ebe7c
37 changed files with 657 additions and 320 deletions

View File

@@ -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>