|
@@ -19,7 +19,7 @@
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<select id="queryStudentPageList" resultType="com.template.model.vo.StudentPageVo" resultMap="studentPageMap">
|
|
<select id="queryStudentPageList" resultType="com.template.model.vo.StudentPageVo" resultMap="studentPageMap">
|
|
|
- select (select count(id) from welcome_accompany where student_card = ws.card_id) as accompanyNum,
|
|
|
|
|
|
|
+ select (select count(id) from welcome_accompany where student_card = ws.card_id and deleted = 0) as accompanyNum,
|
|
|
ws.id,ws.admiss_num,ws.name,ws.card_id,ws.college,ws.major,ws.classstr,
|
|
ws.id,ws.admiss_num,ws.name,ws.card_id,ws.college,ws.major,ws.classstr,
|
|
|
ws.traffic_method,ws.arrive,ws.amount_payable,ws.pay_amount,ws.fill_status,
|
|
ws.traffic_method,ws.arrive,ws.amount_payable,ws.pay_amount,ws.fill_status,
|
|
|
CONCAT(wsd.build, '-', wsd.dormitory, '-', wsd.number) as dormitory
|
|
CONCAT(wsd.build, '-', wsd.dormitory, '-', wsd.number) as dormitory
|