| | |
| | | <result column="state" property="state" /> |
| | | <result column="insertTime" property="insertTime" /> |
| | | </resultMap> |
| | | <select id="queryStoreOfCourse" resultType="com.dsh.course.feignclient.model.CourseOfStoreVo"> |
| | | SELECT tcp.id as courseId, |
| | | tcp.`name` as courseName, |
| | | tcp.classStartTime, |
| | | tcp.classEndTime, |
| | | tcp.classWeeks, |
| | | ts.id as storeId, |
| | | ts.`name` as storeName, |
| | | ts.lat, |
| | | ts.lon |
| | | FROM playpai_course.t_course_package as tcp |
| | | JOIN playpai_other.t_store as ts ON tcp.storeId = ts.id |
| | | where tcp.`status` = 1 |
| | | and tcp.auditStatus = 2 |
| | | and tcp.`state` = 1 |
| | | and ts.`state` = 1 |
| | | </select> |
| | | |
| | | </mapper> |