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