| | |
| | | <result property="name" column="name" /> |
| | | <result property="type" column="type" /> |
| | | <result property="phone" column="phone" /> |
| | | <result property="address" column="address" /> |
| | | <result property="idCard" column="id_card" /> |
| | | <result property="personGroup" column="person_group" /> |
| | | <result property="responsibility" column="responsibility" /> |
| | | <result property="status" column="status" /> |
| | | <result property="isDeleted" column="is_deleted" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectProjectPersonVo"> |
| | | select ids, project_id, hole_id, name, type, phone, address, responsibility, status, is_deleted, create_by, create_time, update_by, update_time, remark from js_project_person |
| | | select ids, project_id, hole_id, name, type, phone, id_card , person_group , responsibility, status, is_deleted, create_by, create_time, update_by, update_time, remark from js_project_person |
| | | </sql> |
| | | |
| | | <select id="selectProjectPersonList" parameterType="ProjectPerson" resultMap="ProjectPersonResult"> |
| | |
| | | <if test="name != null and name != ''">name,</if> |
| | | <if test="type != null and type != ''">type,</if> |
| | | <if test="phone != null and phone != ''">phone,</if> |
| | | <if test="address != null and address != ''">address,</if> |
| | | <if test="idCard != null and idCard != ''">id_card,</if> |
| | | <if test="personGroup != null and personGroup != ''">person_group,</if> |
| | | <if test="responsibility != null and responsibility != ''">responsibility,</if> |
| | | <if test="status != null and status != ''">status,</if> |
| | | <if test="isDeleted != null and isDeleted != ''">is_deleted,</if> |
| | |
| | | <if test="name != null and name != ''">#{name},</if> |
| | | <if test="type != null and type != ''">#{type},</if> |
| | | <if test="phone != null and phone != ''">#{phone},</if> |
| | | <if test="address != null and address != ''">#{address},</if> |
| | | <if test="idCard != null and idCard != ''">#{idCard},</if> |
| | | <if test="personGroup != null and personGroup != ''">#{personGroup},</if> |
| | | <if test="responsibility != null and responsibility != ''">#{responsibility},</if> |
| | | <if test="status != null and status != ''">#{status},</if> |
| | | <if test="isDeleted != null and isDeleted != ''">#{isDeleted},</if> |
| | |
| | | <if test="name != null and name != ''">name = #{name},</if> |
| | | <if test="type != null and type != ''">type = #{type},</if> |
| | | <if test="phone != null and phone != ''">phone = #{phone},</if> |
| | | <if test="address != null and address != ''">address = #{address},</if> |
| | | <if test="idCard != null and idCard != ''">id_card = #{idCard},</if> |
| | | <if test="personGroup != null and personGroup != ''">person_group = #{personGroup},</if> |
| | | <if test="responsibility != null and responsibility != ''">responsibility = #{responsibility},</if> |
| | | <if test="status != null and status != ''">status = #{status},</if> |
| | | <if test="isDeleted != null and isDeleted != ''">is_deleted = #{isDeleted},</if> |