| | |
| | | <result property="standardDeptCode" column="standard_dept_code"/> |
| | | <result property="deptTypeCode" column="dept_type_code"/> |
| | | <result property="deptFcusTypeCode" column="dept_fcus_type_code"/> |
| | | <result property="modality" column="modality"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectDeptVo"> |
| | |
| | | d.peofile, |
| | | d.standard_dept_code, |
| | | d.dept_type_code, |
| | | d.dept_fcus_type_code |
| | | d.dept_fcus_type_code, |
| | | d.modality |
| | | from sys_dept d |
| | | </sql> |
| | | |
| | |
| | | <if test="deptFcusTypeCode != null">dept_fcus_type_code,</if> |
| | | |
| | | <if test="createBy != null and createBy != ''">create_by,</if> |
| | | <if test="modality != null and modality != ''">modality,</if> |
| | | create_time |
| | | )values( |
| | | <if test="deptId != null and deptId != 0">#{deptId},</if> |
| | |
| | | <if test="deptFcusTypeCode != null">#{deptFcusTypeCode},</if> |
| | | |
| | | <if test="createBy != null and createBy != ''">#{createBy},</if> |
| | | <if test="modality != null and modality != ''">#{modality},</if> |
| | | sysdate() |
| | | ) |
| | | </insert> |
| | |
| | | |
| | | |
| | | <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
| | | <if test="modality != null and modality != ''">modality = #{modality},</if> |
| | | update_time = sysdate() |
| | | </set> |
| | | where dept_id = #{deptId} |