|
@@ -191,4 +191,16 @@ public interface SettingsDao {
|
|
|
"set ${sql} where code = #{code}")
|
|
|
void modifyPersonnelInformation(@Param("sql") String sql,
|
|
|
@Param("code") String code);
|
|
|
+
|
|
|
+ @Select("select count(1) from a_employee_mi where code_rs = #{codeRs}")
|
|
|
+ int doesThePersonnelNumberExist(String codeRs);
|
|
|
+
|
|
|
+ @Insert("insert into a_employee_mi (code, name, code_rs, emp_tit_code, emp_po_code, yb_code, " +
|
|
|
+ " dept_code, mark, ifcadre, order_yn, ysjb, " +
|
|
|
+ " gh_charge_type, login_flag, doctor_xz_yp, del_flag, " +
|
|
|
+ " social_no, phone_no, py_code, d_code) " +
|
|
|
+ "values (#{code}, #{name}, #{codeRs}, #{empTitCode}, #{empPoCode}, #{ybCode}, #{deptCode}, #{mark}, #{ifcadre}, " +
|
|
|
+ " #{orderYn}, #{ysjb}, #{ghChargeType}, #{loginFlag}, #{doctorXzYp}, #{delFlag}, #{socialNo}, #{phoneNo}, " +
|
|
|
+ " #{pyCode}, #{dCode})")
|
|
|
+ void saveEmployeeInfo(UserInfo info);
|
|
|
}
|