|
|
@ -12,8 +12,7 @@ |
|
|
|
hz_status, zx_status, reason, MNUN, NOTE, EFF_DATE, EXPR_DATE, WAGA_CEN_LONG, WAGA_CEN_LAT, IF_CEB, IF_HYJ, IF_GSE, IF_SGE, FREQIN, CHECK_DATE, WAGA_OV, UPDATE_DATE, |
|
|
|
sf.id, name, unit, duties, phone, person_responsible_type, competent_department, competent_department_duties, effective_date, pro_code, pro_no, type, safety_type, person_type, |
|
|
|
sf.create_time |
|
|
|
from bs_sgc_sz_fzr sf |
|
|
|
left join att_waga_base sj on sf.waga_code = sj.waga_code |
|
|
|
from bs_sgc_sz_fzr sf ,att_waga_base sj where sf.waga_code = sj.waga_code |
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
|
@ -69,7 +68,7 @@ |
|
|
|
<select id="getList" resultMap="BsSgcSzFzr"> |
|
|
|
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind> |
|
|
|
<include refid="info"></include> |
|
|
|
<where> |
|
|
|
|
|
|
|
<if test="wageName!=null and wageName!=''"> |
|
|
|
and sj.WAGA_NAME LIKE concat('%',#{wageName},'%') |
|
|
|
</if> |
|
|
@ -79,7 +78,7 @@ |
|
|
|
<if test="adcd != null and adcd != ''"> |
|
|
|
and sj.adcd like concat(#{adcd},'%') |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
|
|
|
|
order by ${orderBy} desc LIMIT #{pageNum},#{pageSize}; |
|
|
|
</select> |
|
|
|
|
|
|
|