提交 8844e040 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码,后台体系[Spring Boot]

上级 39ed69df
......@@ -567,13 +567,6 @@ public class Hr_employee extends EntityMP implements Serializable {
@JSONField(name = "leave_date_to" , format="yyyy-MM-dd")
@JsonProperty("leave_date_to")
private Timestamp leaveDateTo;
/**
* 是管理者
*/
@TableField(value = "manager")
@JSONField(name = "manager")
@JsonProperty("manager")
private Boolean manager;
/**
* 工作地点
*/
......@@ -596,14 +589,6 @@ public class Hr_employee extends EntityMP implements Serializable {
@JSONField(name = "contract_id")
@JsonProperty("contract_id")
private Integer contractId;
/**
* 员工文档
*/
@DEField(name = "google_drive_link")
@TableField(value = "google_drive_link")
@JSONField(name = "google_drive_link")
@JsonProperty("google_drive_link")
private String googleDriveLink;
/**
* 工作许可编号
*/
......@@ -1331,14 +1316,6 @@ public class Hr_employee extends EntityMP implements Serializable {
this.modify("passport_id",passportId);
}
/**
* 设置 [是管理者]
*/
public void setManager(Boolean manager){
this.manager = manager ;
this.modify("manager",manager);
}
/**
* 设置 [工作地点]
*/
......@@ -1347,14 +1324,6 @@ public class Hr_employee extends EntityMP implements Serializable {
this.modify("work_location",workLocation);
}
/**
* 设置 [员工文档]
*/
public void setGoogleDriveLink(String googleDriveLink){
this.googleDriveLink = googleDriveLink ;
this.modify("google_drive_link",googleDriveLink);
}
/**
* 设置 [工作许可编号]
*/
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="Hr_employeeResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t51.ACTIVE, t1.ADDITIONAL_NOTE, t1.ADDRESS_HOME_ID, t81.NAME AS ADDRESS_HOME_ID_TEXT, t1.ADDRESS_ID, t171.NAME AS ADDRESS_ID_TEXT, t1.BANK_ACCOUNT_ID, t1.BARCODE, t1.BIRTHDAY, t1.CERTIFICATE, t1.CHILDREN, t1.COACH_ID, t211.NAME AS COACH_ID_TEXT, t1.COLOR, t1.COMPANY_ID, t191.NAME AS COMPANY_ID_TEXT, t1.COUNTRY_ID, t221.NAME AS COUNTRY_ID_TEXT, t1.COUNTRY_OF_BIRTH, t131.NAME AS COUNTRY_OF_BIRTH_TEXT, t1.CREATE_DATE, t1.CREATE_UID, t71.NAME AS CREATE_UID_TEXT, t1.DEPARTMENT_ID, t121.NAME AS DEPARTMENT_ID_TEXT, t1.EMERGENCY_CONTACT, t1.EMERGENCY_PHONE, t1.EXPENSE_MANAGER_ID, t151.NAME AS EXPENSE_MANAGER_ID_TEXT, t1.GENDER, t1.GOOGLE_DRIVE_LINK, t1.ID, t1.IDENTIFICATION_ID, t1.JOB_ID, t161.NAME AS JOB_ID_TEXT, t1.JOB_TITLE, t1.KM_HOME_WORK, t1.LAST_ATTENDANCE_ID, t1.MANAGER, t1.MARITAL, t1.MEDIC_EXAM, t1.MESSAGE_MAIN_ATTACHMENT_ID, t1.MOBILE_PHONE, t51.NAME, t1.NOTES, t1.PARENT_ID, t21.NAME AS PARENT_ID_TEXT, t1.PASSPORT_ID, t1.PERMIT_NO, t1.PIN, t1.PLACE_OF_BIRTH, t1.RESOURCE_CALENDAR_ID, t91.NAME AS RESOURCE_CALENDAR_ID_TEXT, t1.RESOURCE_ID, t1.SINID, t1.SPOUSE_BIRTHDATE, t1.SPOUSE_COMPLETE_NAME, t1.SSNID, t1.STUDY_FIELD, t1.STUDY_SCHOOL, t51.TZ, t1.USER_ID, t111.NAME AS USER_ID_TEXT, t1.VEHICLE, t1.VISA_EXPIRE, t1.VISA_NO, t1.WORK_EMAIL, t1.WORK_LOCATION, t1.WORK_PHONE, t1.WRITE_DATE, t1.WRITE_UID, t41.NAME AS WRITE_UID_TEXT FROM HR_EMPLOYEE t1 LEFT JOIN HR_EMPLOYEE t11 ON t1.PARENT_ID = t11.ID LEFT JOIN RESOURCE_RESOURCE t21 ON t11.RESOURCE_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.WRITE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN RESOURCE_RESOURCE t51 ON t1.RESOURCE_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.CREATE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN RES_PARTNER t81 ON t1.ADDRESS_HOME_ID = t81.ID LEFT JOIN RESOURCE_CALENDAR t91 ON t1.RESOURCE_CALENDAR_ID = t91.ID LEFT JOIN RES_USERS t101 ON t1.USER_ID = t101.ID LEFT JOIN RES_PARTNER t111 ON t101.PARTNER_ID = t111.ID LEFT JOIN HR_DEPARTMENT t121 ON t1.DEPARTMENT_ID = t121.ID LEFT JOIN RES_COUNTRY t131 ON t1.COUNTRY_OF_BIRTH = t131.ID LEFT JOIN RES_USERS t141 ON t1.EXPENSE_MANAGER_ID = t141.ID LEFT JOIN RES_PARTNER t151 ON t141.PARTNER_ID = t151.ID LEFT JOIN HR_JOB t161 ON t1.JOB_ID = t161.ID LEFT JOIN RES_PARTNER t171 ON t1.ADDRESS_ID = t171.ID LEFT JOIN RES_COMPANY t181 ON t1.COMPANY_ID = t181.ID LEFT JOIN RES_PARTNER t191 ON t181.PARTNER_ID = t191.ID LEFT JOIN HR_EMPLOYEE t201 ON t1.COACH_ID = t201.ID LEFT JOIN RESOURCE_RESOURCE t211 ON t201.RESOURCE_ID = t211.ID LEFT JOIN RES_COUNTRY t221 ON t1.COUNTRY_ID = t221.ID ) t1 where id=#{id}]]>
<![CDATA[select t1.* from (SELECT t51.ACTIVE, t1.ADDITIONAL_NOTE, t1.ADDRESS_HOME_ID, t81.NAME AS ADDRESS_HOME_ID_TEXT, t1.ADDRESS_ID, t171.NAME AS ADDRESS_ID_TEXT, t1.BANK_ACCOUNT_ID, t1.BARCODE, t1.BIRTHDAY, t1.CERTIFICATE, t1.CHILDREN, t1.COACH_ID, t211.NAME AS COACH_ID_TEXT, t1.COLOR, t1.COMPANY_ID, t191.NAME AS COMPANY_ID_TEXT, t1.COUNTRY_ID, t221.NAME AS COUNTRY_ID_TEXT, t1.COUNTRY_OF_BIRTH, t131.NAME AS COUNTRY_OF_BIRTH_TEXT, t1.CREATE_DATE, t1.CREATE_UID, t71.NAME AS CREATE_UID_TEXT, t1.DEPARTMENT_ID, t121.NAME AS DEPARTMENT_ID_TEXT, t1.EMERGENCY_CONTACT, t1.EMERGENCY_PHONE, t1.EXPENSE_MANAGER_ID, t151.NAME AS EXPENSE_MANAGER_ID_TEXT, t1.GENDER, t1.ID, t1.IDENTIFICATION_ID, t1.JOB_ID, t161.NAME AS JOB_ID_TEXT, t1.JOB_TITLE, t1.KM_HOME_WORK, t1.LAST_ATTENDANCE_ID, t1.MARITAL, t1.MEDIC_EXAM, t1.MESSAGE_MAIN_ATTACHMENT_ID, t1.MOBILE_PHONE, t51.NAME, t1.NOTES, t1.PARENT_ID, t21.NAME AS PARENT_ID_TEXT, t1.PASSPORT_ID, t1.PERMIT_NO, t1.PIN, t1.PLACE_OF_BIRTH, t1.RESOURCE_CALENDAR_ID, t91.NAME AS RESOURCE_CALENDAR_ID_TEXT, t1.RESOURCE_ID, t1.SINID, t1.SPOUSE_BIRTHDATE, t1.SPOUSE_COMPLETE_NAME, t1.SSNID, t1.STUDY_FIELD, t1.STUDY_SCHOOL, t51.TZ, t1.USER_ID, t111.NAME AS USER_ID_TEXT, t1.VEHICLE, t1.VISA_EXPIRE, t1.VISA_NO, t1.WORK_EMAIL, t1.WORK_LOCATION, t1.WORK_PHONE, t1.WRITE_DATE, t1.WRITE_UID, t41.NAME AS WRITE_UID_TEXT FROM HR_EMPLOYEE t1 LEFT JOIN HR_EMPLOYEE t11 ON t1.PARENT_ID = t11.ID LEFT JOIN RESOURCE_RESOURCE t21 ON t11.RESOURCE_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.WRITE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN RESOURCE_RESOURCE t51 ON t1.RESOURCE_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.CREATE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN RES_PARTNER t81 ON t1.ADDRESS_HOME_ID = t81.ID LEFT JOIN RESOURCE_CALENDAR t91 ON t1.RESOURCE_CALENDAR_ID = t91.ID LEFT JOIN RES_USERS t101 ON t1.USER_ID = t101.ID LEFT JOIN RES_PARTNER t111 ON t101.PARTNER_ID = t111.ID LEFT JOIN HR_DEPARTMENT t121 ON t1.DEPARTMENT_ID = t121.ID LEFT JOIN RES_COUNTRY t131 ON t1.COUNTRY_OF_BIRTH = t131.ID LEFT JOIN RES_USERS t141 ON t1.EXPENSE_MANAGER_ID = t141.ID LEFT JOIN RES_PARTNER t151 ON t141.PARTNER_ID = t151.ID LEFT JOIN HR_JOB t161 ON t1.JOB_ID = t161.ID LEFT JOIN RES_PARTNER t171 ON t1.ADDRESS_ID = t171.ID LEFT JOIN RES_COMPANY t181 ON t1.COMPANY_ID = t181.ID LEFT JOIN RES_PARTNER t191 ON t181.PARTNER_ID = t191.ID LEFT JOIN HR_EMPLOYEE t201 ON t1.COACH_ID = t201.ID LEFT JOIN RESOURCE_RESOURCE t211 ON t201.RESOURCE_ID = t211.ID LEFT JOIN RES_COUNTRY t221 ON t1.COUNTRY_ID = t221.ID ) t1 where id=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -73,7 +73,6 @@
<result property="workLocation" column="work_location" />
<result property="messageAttachmentCount" column="message_attachment_count" />
<result property="contractId" column="contract_id" />
<result property="googleDriveLink" column="google_drive_link" />
<result property="permitNo" column="permit_no" />
<result property="messageFollowerIds" column="message_follower_ids" />
<result property="identificationId" column="identification_id" />
......@@ -280,12 +279,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t51.ACTIVE, t1.ADDRESS_HOME_ID, t81.NAME AS ADDRESS_HOME_ID_TEXT, t1.ADDRESS_ID, t171.NAME AS ADDRESS_ID_TEXT, t1.BANK_ACCOUNT_ID, t1.BARCODE, t1.BIRTHDAY, t1.CERTIFICATE, t1.CHILDREN, t1.COACH_ID, t211.NAME AS COACH_ID_TEXT, t1.COLOR, t1.COMPANY_ID, t191.NAME AS COMPANY_ID_TEXT, t1.COUNTRY_ID, t221.NAME AS COUNTRY_ID_TEXT, t1.COUNTRY_OF_BIRTH, t131.NAME AS COUNTRY_OF_BIRTH_TEXT, t1.CREATE_DATE, t1.CREATE_UID, t71.NAME AS CREATE_UID_TEXT, t1.DEPARTMENT_ID, t121.NAME AS DEPARTMENT_ID_TEXT, t1.EMERGENCY_CONTACT, t1.EMERGENCY_PHONE, t1.EXPENSE_MANAGER_ID, t151.NAME AS EXPENSE_MANAGER_ID_TEXT, t1.GENDER, t1.GOOGLE_DRIVE_LINK, t1.ID, t1.IDENTIFICATION_ID, t1.JOB_ID, t161.NAME AS JOB_ID_TEXT, t1.JOB_TITLE, t1.KM_HOME_WORK, t1.LAST_ATTENDANCE_ID, t1.MANAGER, t1.MARITAL, t1.MEDIC_EXAM, t1.MESSAGE_MAIN_ATTACHMENT_ID, t1.MOBILE_PHONE, t51.NAME, t1.PARENT_ID, t21.NAME AS PARENT_ID_TEXT, t1.PASSPORT_ID, t1.PERMIT_NO, t1.PIN, t1.PLACE_OF_BIRTH, t1.RESOURCE_CALENDAR_ID, t91.NAME AS RESOURCE_CALENDAR_ID_TEXT, t1.RESOURCE_ID, t1.SINID, t1.SPOUSE_BIRTHDATE, t1.SPOUSE_COMPLETE_NAME, t1.SSNID, t1.STUDY_FIELD, t1.STUDY_SCHOOL, t51.TZ, t1.USER_ID, t111.NAME AS USER_ID_TEXT, t1.VEHICLE, t1.VISA_EXPIRE, t1.VISA_NO, t1.WORK_EMAIL, t1.WORK_LOCATION, t1.WORK_PHONE, t1.WRITE_DATE, t1.WRITE_UID, t41.NAME AS WRITE_UID_TEXT FROM HR_EMPLOYEE t1 LEFT JOIN HR_EMPLOYEE t11 ON t1.PARENT_ID = t11.ID LEFT JOIN RESOURCE_RESOURCE t21 ON t11.RESOURCE_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.WRITE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN RESOURCE_RESOURCE t51 ON t1.RESOURCE_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.CREATE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN RES_PARTNER t81 ON t1.ADDRESS_HOME_ID = t81.ID LEFT JOIN RESOURCE_CALENDAR t91 ON t1.RESOURCE_CALENDAR_ID = t91.ID LEFT JOIN RES_USERS t101 ON t1.USER_ID = t101.ID LEFT JOIN RES_PARTNER t111 ON t101.PARTNER_ID = t111.ID LEFT JOIN HR_DEPARTMENT t121 ON t1.DEPARTMENT_ID = t121.ID LEFT JOIN RES_COUNTRY t131 ON t1.COUNTRY_OF_BIRTH = t131.ID LEFT JOIN RES_USERS t141 ON t1.EXPENSE_MANAGER_ID = t141.ID LEFT JOIN RES_PARTNER t151 ON t141.PARTNER_ID = t151.ID LEFT JOIN HR_JOB t161 ON t1.JOB_ID = t161.ID LEFT JOIN RES_PARTNER t171 ON t1.ADDRESS_ID = t171.ID LEFT JOIN RES_COMPANY t181 ON t1.COMPANY_ID = t181.ID LEFT JOIN RES_PARTNER t191 ON t181.PARTNER_ID = t191.ID LEFT JOIN HR_EMPLOYEE t201 ON t1.COACH_ID = t201.ID LEFT JOIN RESOURCE_RESOURCE t211 ON t201.RESOURCE_ID = t211.ID LEFT JOIN RES_COUNTRY t221 ON t1.COUNTRY_ID = t221.ID
<![CDATA[ SELECT t51.ACTIVE, t1.ADDRESS_HOME_ID, t81.NAME AS ADDRESS_HOME_ID_TEXT, t1.ADDRESS_ID, t171.NAME AS ADDRESS_ID_TEXT, t1.BANK_ACCOUNT_ID, t1.BARCODE, t1.BIRTHDAY, t1.CERTIFICATE, t1.CHILDREN, t1.COACH_ID, t211.NAME AS COACH_ID_TEXT, t1.COLOR, t1.COMPANY_ID, t191.NAME AS COMPANY_ID_TEXT, t1.COUNTRY_ID, t221.NAME AS COUNTRY_ID_TEXT, t1.COUNTRY_OF_BIRTH, t131.NAME AS COUNTRY_OF_BIRTH_TEXT, t1.CREATE_DATE, t1.CREATE_UID, t71.NAME AS CREATE_UID_TEXT, t1.DEPARTMENT_ID, t121.NAME AS DEPARTMENT_ID_TEXT, t1.EMERGENCY_CONTACT, t1.EMERGENCY_PHONE, t1.EXPENSE_MANAGER_ID, t151.NAME AS EXPENSE_MANAGER_ID_TEXT, t1.GENDER, t1.ID, t1.IDENTIFICATION_ID, t1.JOB_ID, t161.NAME AS JOB_ID_TEXT, t1.JOB_TITLE, t1.KM_HOME_WORK, t1.LAST_ATTENDANCE_ID, t1.MARITAL, t1.MEDIC_EXAM, t1.MESSAGE_MAIN_ATTACHMENT_ID, t1.MOBILE_PHONE, t51.NAME, t1.PARENT_ID, t21.NAME AS PARENT_ID_TEXT, t1.PASSPORT_ID, t1.PERMIT_NO, t1.PIN, t1.PLACE_OF_BIRTH, t1.RESOURCE_CALENDAR_ID, t91.NAME AS RESOURCE_CALENDAR_ID_TEXT, t1.RESOURCE_ID, t1.SINID, t1.SPOUSE_BIRTHDATE, t1.SPOUSE_COMPLETE_NAME, t1.SSNID, t1.STUDY_FIELD, t1.STUDY_SCHOOL, t51.TZ, t1.USER_ID, t111.NAME AS USER_ID_TEXT, t1.VEHICLE, t1.VISA_EXPIRE, t1.VISA_NO, t1.WORK_EMAIL, t1.WORK_LOCATION, t1.WORK_PHONE, t1.WRITE_DATE, t1.WRITE_UID, t41.NAME AS WRITE_UID_TEXT FROM HR_EMPLOYEE t1 LEFT JOIN HR_EMPLOYEE t11 ON t1.PARENT_ID = t11.ID LEFT JOIN RESOURCE_RESOURCE t21 ON t11.RESOURCE_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.WRITE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN RESOURCE_RESOURCE t51 ON t1.RESOURCE_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.CREATE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN RES_PARTNER t81 ON t1.ADDRESS_HOME_ID = t81.ID LEFT JOIN RESOURCE_CALENDAR t91 ON t1.RESOURCE_CALENDAR_ID = t91.ID LEFT JOIN RES_USERS t101 ON t1.USER_ID = t101.ID LEFT JOIN RES_PARTNER t111 ON t101.PARTNER_ID = t111.ID LEFT JOIN HR_DEPARTMENT t121 ON t1.DEPARTMENT_ID = t121.ID LEFT JOIN RES_COUNTRY t131 ON t1.COUNTRY_OF_BIRTH = t131.ID LEFT JOIN RES_USERS t141 ON t1.EXPENSE_MANAGER_ID = t141.ID LEFT JOIN RES_PARTNER t151 ON t141.PARTNER_ID = t151.ID LEFT JOIN HR_JOB t161 ON t1.JOB_ID = t161.ID LEFT JOIN RES_PARTNER t171 ON t1.ADDRESS_ID = t171.ID LEFT JOIN RES_COMPANY t181 ON t1.COMPANY_ID = t181.ID LEFT JOIN RES_PARTNER t191 ON t181.PARTNER_ID = t191.ID LEFT JOIN HR_EMPLOYEE t201 ON t1.COACH_ID = t201.ID LEFT JOIN RESOURCE_RESOURCE t211 ON t201.RESOURCE_ID = t211.ID LEFT JOIN RES_COUNTRY t221 ON t1.COUNTRY_ID = t221.ID
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t51.ACTIVE, t1.ADDITIONAL_NOTE, t1.ADDRESS_HOME_ID, t81.NAME AS ADDRESS_HOME_ID_TEXT, t1.ADDRESS_ID, t171.NAME AS ADDRESS_ID_TEXT, t1.BANK_ACCOUNT_ID, t1.BARCODE, t1.BIRTHDAY, t1.CERTIFICATE, t1.CHILDREN, t1.COACH_ID, t211.NAME AS COACH_ID_TEXT, t1.COLOR, t1.COMPANY_ID, t191.NAME AS COMPANY_ID_TEXT, t1.COUNTRY_ID, t221.NAME AS COUNTRY_ID_TEXT, t1.COUNTRY_OF_BIRTH, t131.NAME AS COUNTRY_OF_BIRTH_TEXT, t1.CREATE_DATE, t1.CREATE_UID, t71.NAME AS CREATE_UID_TEXT, t1.DEPARTMENT_ID, t121.NAME AS DEPARTMENT_ID_TEXT, t1.EMERGENCY_CONTACT, t1.EMERGENCY_PHONE, t1.EXPENSE_MANAGER_ID, t151.NAME AS EXPENSE_MANAGER_ID_TEXT, t1.GENDER, t1.GOOGLE_DRIVE_LINK, t1.ID, t1.IDENTIFICATION_ID, t1.JOB_ID, t161.NAME AS JOB_ID_TEXT, t1.JOB_TITLE, t1.KM_HOME_WORK, t1.LAST_ATTENDANCE_ID, t1.MANAGER, t1.MARITAL, t1.MEDIC_EXAM, t1.MESSAGE_MAIN_ATTACHMENT_ID, t1.MOBILE_PHONE, t51.NAME, t1.NOTES, t1.PARENT_ID, t21.NAME AS PARENT_ID_TEXT, t1.PASSPORT_ID, t1.PERMIT_NO, t1.PIN, t1.PLACE_OF_BIRTH, t1.RESOURCE_CALENDAR_ID, t91.NAME AS RESOURCE_CALENDAR_ID_TEXT, t1.RESOURCE_ID, t1.SINID, t1.SPOUSE_BIRTHDATE, t1.SPOUSE_COMPLETE_NAME, t1.SSNID, t1.STUDY_FIELD, t1.STUDY_SCHOOL, t51.TZ, t1.USER_ID, t111.NAME AS USER_ID_TEXT, t1.VEHICLE, t1.VISA_EXPIRE, t1.VISA_NO, t1.WORK_EMAIL, t1.WORK_LOCATION, t1.WORK_PHONE, t1.WRITE_DATE, t1.WRITE_UID, t41.NAME AS WRITE_UID_TEXT FROM HR_EMPLOYEE t1 LEFT JOIN HR_EMPLOYEE t11 ON t1.PARENT_ID = t11.ID LEFT JOIN RESOURCE_RESOURCE t21 ON t11.RESOURCE_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.WRITE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN RESOURCE_RESOURCE t51 ON t1.RESOURCE_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.CREATE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN RES_PARTNER t81 ON t1.ADDRESS_HOME_ID = t81.ID LEFT JOIN RESOURCE_CALENDAR t91 ON t1.RESOURCE_CALENDAR_ID = t91.ID LEFT JOIN RES_USERS t101 ON t1.USER_ID = t101.ID LEFT JOIN RES_PARTNER t111 ON t101.PARTNER_ID = t111.ID LEFT JOIN HR_DEPARTMENT t121 ON t1.DEPARTMENT_ID = t121.ID LEFT JOIN RES_COUNTRY t131 ON t1.COUNTRY_OF_BIRTH = t131.ID LEFT JOIN RES_USERS t141 ON t1.EXPENSE_MANAGER_ID = t141.ID LEFT JOIN RES_PARTNER t151 ON t141.PARTNER_ID = t151.ID LEFT JOIN HR_JOB t161 ON t1.JOB_ID = t161.ID LEFT JOIN RES_PARTNER t171 ON t1.ADDRESS_ID = t171.ID LEFT JOIN RES_COMPANY t181 ON t1.COMPANY_ID = t181.ID LEFT JOIN RES_PARTNER t191 ON t181.PARTNER_ID = t191.ID LEFT JOIN HR_EMPLOYEE t201 ON t1.COACH_ID = t201.ID LEFT JOIN RESOURCE_RESOURCE t211 ON t201.RESOURCE_ID = t211.ID LEFT JOIN RES_COUNTRY t221 ON t1.COUNTRY_ID = t221.ID
<![CDATA[ SELECT t51.ACTIVE, t1.ADDITIONAL_NOTE, t1.ADDRESS_HOME_ID, t81.NAME AS ADDRESS_HOME_ID_TEXT, t1.ADDRESS_ID, t171.NAME AS ADDRESS_ID_TEXT, t1.BANK_ACCOUNT_ID, t1.BARCODE, t1.BIRTHDAY, t1.CERTIFICATE, t1.CHILDREN, t1.COACH_ID, t211.NAME AS COACH_ID_TEXT, t1.COLOR, t1.COMPANY_ID, t191.NAME AS COMPANY_ID_TEXT, t1.COUNTRY_ID, t221.NAME AS COUNTRY_ID_TEXT, t1.COUNTRY_OF_BIRTH, t131.NAME AS COUNTRY_OF_BIRTH_TEXT, t1.CREATE_DATE, t1.CREATE_UID, t71.NAME AS CREATE_UID_TEXT, t1.DEPARTMENT_ID, t121.NAME AS DEPARTMENT_ID_TEXT, t1.EMERGENCY_CONTACT, t1.EMERGENCY_PHONE, t1.EXPENSE_MANAGER_ID, t151.NAME AS EXPENSE_MANAGER_ID_TEXT, t1.GENDER, t1.ID, t1.IDENTIFICATION_ID, t1.JOB_ID, t161.NAME AS JOB_ID_TEXT, t1.JOB_TITLE, t1.KM_HOME_WORK, t1.LAST_ATTENDANCE_ID, t1.MARITAL, t1.MEDIC_EXAM, t1.MESSAGE_MAIN_ATTACHMENT_ID, t1.MOBILE_PHONE, t51.NAME, t1.NOTES, t1.PARENT_ID, t21.NAME AS PARENT_ID_TEXT, t1.PASSPORT_ID, t1.PERMIT_NO, t1.PIN, t1.PLACE_OF_BIRTH, t1.RESOURCE_CALENDAR_ID, t91.NAME AS RESOURCE_CALENDAR_ID_TEXT, t1.RESOURCE_ID, t1.SINID, t1.SPOUSE_BIRTHDATE, t1.SPOUSE_COMPLETE_NAME, t1.SSNID, t1.STUDY_FIELD, t1.STUDY_SCHOOL, t51.TZ, t1.USER_ID, t111.NAME AS USER_ID_TEXT, t1.VEHICLE, t1.VISA_EXPIRE, t1.VISA_NO, t1.WORK_EMAIL, t1.WORK_LOCATION, t1.WORK_PHONE, t1.WRITE_DATE, t1.WRITE_UID, t41.NAME AS WRITE_UID_TEXT FROM HR_EMPLOYEE t1 LEFT JOIN HR_EMPLOYEE t11 ON t1.PARENT_ID = t11.ID LEFT JOIN RESOURCE_RESOURCE t21 ON t11.RESOURCE_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.WRITE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN RESOURCE_RESOURCE t51 ON t1.RESOURCE_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.CREATE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN RES_PARTNER t81 ON t1.ADDRESS_HOME_ID = t81.ID LEFT JOIN RESOURCE_CALENDAR t91 ON t1.RESOURCE_CALENDAR_ID = t91.ID LEFT JOIN RES_USERS t101 ON t1.USER_ID = t101.ID LEFT JOIN RES_PARTNER t111 ON t101.PARTNER_ID = t111.ID LEFT JOIN HR_DEPARTMENT t121 ON t1.DEPARTMENT_ID = t121.ID LEFT JOIN RES_COUNTRY t131 ON t1.COUNTRY_OF_BIRTH = t131.ID LEFT JOIN RES_USERS t141 ON t1.EXPENSE_MANAGER_ID = t141.ID LEFT JOIN RES_PARTNER t151 ON t141.PARTNER_ID = t151.ID LEFT JOIN HR_JOB t161 ON t1.JOB_ID = t161.ID LEFT JOIN RES_PARTNER t171 ON t1.ADDRESS_ID = t171.ID LEFT JOIN RES_COMPANY t181 ON t1.COMPANY_ID = t181.ID LEFT JOIN RES_PARTNER t191 ON t181.PARTNER_ID = t191.ID LEFT JOIN HR_EMPLOYEE t201 ON t1.COACH_ID = t201.ID LEFT JOIN RESOURCE_RESOURCE t211 ON t201.RESOURCE_ID = t211.ID LEFT JOIN RES_COUNTRY t221 ON t1.COUNTRY_ID = t221.ID
]]>
</sql>
......
......@@ -64683,19 +64683,6 @@
"major_field":0
},
{
"fieldname":"MANAGER" ,
"codename":"Manager",
"field_logic_name":"是管理者",
"entity_name":"Hr_employee",
"field_type":"TRUEFALSE",
"nullable":1,
"physical_field":1,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"WORK_LOCATION" ,
"codename":"Work_location",
"field_logic_name":"工作地点",
......@@ -64736,20 +64723,6 @@
"major_field":0
},
{
"fieldname":"GOOGLE_DRIVE_LINK" ,
"codename":"Google_drive_link",
"field_logic_name":"员工文档",
"entity_name":"Hr_employee",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"PERMIT_NO" ,
"codename":"Permit_no",
"field_logic_name":"工作许可编号",
......@@ -643,14 +643,6 @@ public class Hr_employeeDTO extends DTOBase implements Serializable {
@JsonProperty("leave_date_to")
private Timestamp leaveDateTo;
/**
* 属性 [MANAGER]
*
*/
@JSONField(name = "manager")
@JsonProperty("manager")
private Boolean manager;
/**
* 属性 [WORK_LOCATION]
*
......@@ -676,15 +668,6 @@ public class Hr_employeeDTO extends DTOBase implements Serializable {
@JsonProperty("contract_id")
private Integer contractId;
/**
* 属性 [GOOGLE_DRIVE_LINK]
*
*/
@JSONField(name = "google_drive_link")
@JsonProperty("google_drive_link")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String googleDriveLink;
/**
* 属性 [PERMIT_NO]
*
......@@ -1295,14 +1278,6 @@ public class Hr_employeeDTO extends DTOBase implements Serializable {
this.modify("passport_id",passportId);
}
/**
* 设置 [MANAGER]
*/
public void setManager(Boolean manager){
this.manager = manager ;
this.modify("manager",manager);
}
/**
* 设置 [WORK_LOCATION]
*/
......@@ -1311,14 +1286,6 @@ public class Hr_employeeDTO extends DTOBase implements Serializable {
this.modify("work_location",workLocation);
}
/**
* 设置 [GOOGLE_DRIVE_LINK]
*/
public void setGoogleDriveLink(String googleDriveLink){
this.googleDriveLink = googleDriveLink ;
this.modify("google_drive_link",googleDriveLink);
}
/**
* 设置 [PERMIT_NO]
*/
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册