1.修改sql

dev
862857010@qq.com 2 years ago
parent aca64ea665
commit ef496757fd
  1. 12
      cjy-project/src/main/resources/mapper/reservationAge/AppointmentStatisticsTaskMapper.xml

@ -66,16 +66,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getResourceCodeListTeam" resultType="java.util.Map">
SELECT
IFNULL(t2.resource_code,"") AS resourceCode,
t1.organ_code AS organCode,
t2.organ_code AS organCode,
ifnull(t2.id,'') as resourceId
FROM
appointment_team_data t1
LEFT JOIN b_tour_info t2 on t1.scenic_code = t2.resource_code
where t1.del_flag!=2
GROUP BY
t2.resource_code,
t1.organ_code,
t2.id
b_tour_info t2
where t2.del_flag!=2
</select>
<select id="getWriteOffDate" resultType="java.lang.Integer">
SELECT

Loading…
Cancel
Save