src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -164,6 +164,12 @@ <if test="record.orderType != null"> and a.order_type=#{record.orderType} </if> <if test="record.allStatus == 2"> and a.status <![CDATA[<= ]]> 4 </if> <if test="record.allStatus == 3"> and a.status <![CDATA[>= ]]> 4 </if> </where> order by a.created_time desc </select> @@ -315,7 +321,7 @@ count(a.id) from mall_order_info a where date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createTime} date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime} and a.member_id = #{memberId} </select> </mapper>