提交 9f40f2c6 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码 [Spring Boot]

上级 b27861ad
......@@ -189,13 +189,6 @@ public class Account_bank_statement_import_journal_creation extends EntityMP imp
@JSONField(name = "profit_account_id")
@JsonProperty("profit_account_id")
private Long profitAccountId;
/**
* 允许取消分录
*/
@TableField(exist = false)
@JSONField(name = "update_posted")
@JsonProperty("update_posted")
private Boolean updatePosted;
/**
* 信用票:下一号码
*/
......@@ -217,13 +210,6 @@ public class Account_bank_statement_import_journal_creation extends EntityMP imp
@JSONField(name = "code")
@JsonProperty("code")
private String code;
/**
* 分组发票明细行
*/
@TableField(exist = false)
@JSONField(name = "group_invoice_lines")
@JsonProperty("group_invoice_lines")
private Boolean groupInvoiceLines;
/**
* 供应商账单的别名
*/
......@@ -329,13 +315,6 @@ public class Account_bank_statement_import_journal_creation extends EntityMP imp
@JSONField(name = "show_on_dashboard")
@JsonProperty("show_on_dashboard")
private Boolean showOnDashboard;
/**
* 银行核销时过账
*/
@TableField(exist = false)
@JSONField(name = "post_at_bank_rec")
@JsonProperty("post_at_bank_rec")
private Boolean postAtBankRec;
/**
* 属于用户的当前公司
*/
......
......@@ -97,14 +97,6 @@ public class Account_journal extends EntityMP implements Serializable {
@JSONField(name = "show_on_dashboard")
@JsonProperty("show_on_dashboard")
private Boolean showOnDashboard;
/**
* 在销售点中使用
*/
@DEField(name = "journal_user")
@TableField(value = "journal_user")
@JSONField(name = "journal_user")
@JsonProperty("journal_user")
private Boolean journalUser;
/**
* ID
*/
......@@ -129,14 +121,6 @@ public class Account_journal extends EntityMP implements Serializable {
@JSONField(name = "at_least_one_inbound")
@JsonProperty("at_least_one_inbound")
private Boolean atLeastOneInbound;
/**
* 银行核销时过账
*/
@DEField(name = "post_at_bank_rec")
@TableField(value = "post_at_bank_rec")
@JSONField(name = "post_at_bank_rec")
@JsonProperty("post_at_bank_rec")
private Boolean postAtBankRec;
/**
* 日记账名称
*/
......@@ -196,14 +180,6 @@ public class Account_journal extends EntityMP implements Serializable {
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 分组发票明细行
*/
@DEField(name = "group_invoice_lines")
@TableField(value = "group_invoice_lines")
@JSONField(name = "group_invoice_lines")
@JsonProperty("group_invoice_lines")
private Boolean groupInvoiceLines;
/**
* 信用票分录序列
*/
......@@ -226,14 +202,6 @@ public class Account_journal extends EntityMP implements Serializable {
@JSONField(name = "account_control_ids")
@JsonProperty("account_control_ids")
private String accountControlIds;
/**
* 允许取消分录
*/
@DEField(name = "update_posted")
@TableField(value = "update_posted")
@JSONField(name = "update_posted")
@JsonProperty("update_posted")
private Boolean updatePosted;
/**
* 看板仪表板图表
*/
......@@ -563,14 +531,6 @@ public class Account_journal extends EntityMP implements Serializable {
this.modify("show_on_dashboard",showOnDashboard);
}
/**
* 设置 [在销售点中使用]
*/
public void setJournalUser(Boolean journalUser){
this.journalUser = journalUser ;
this.modify("journal_user",journalUser);
}
/**
* 设置 [银行费用]
*/
......@@ -587,14 +547,6 @@ public class Account_journal extends EntityMP implements Serializable {
this.modify("at_least_one_inbound",atLeastOneInbound);
}
/**
* 设置 [银行核销时过账]
*/
public void setPostAtBankRec(Boolean postAtBankRec){
this.postAtBankRec = postAtBankRec ;
this.modify("post_at_bank_rec",postAtBankRec);
}
/**
* 设置 [日记账名称]
*/
......@@ -611,14 +563,6 @@ public class Account_journal extends EntityMP implements Serializable {
this.modify("code",code);
}
/**
* 设置 [分组发票明细行]
*/
public void setGroupInvoiceLines(Boolean groupInvoiceLines){
this.groupInvoiceLines = groupInvoiceLines ;
this.modify("group_invoice_lines",groupInvoiceLines);
}
/**
* 设置 [信用票分录序列]
*/
......@@ -627,14 +571,6 @@ public class Account_journal extends EntityMP implements Serializable {
this.modify("refund_sequence_id",refundSequenceId);
}
/**
* 设置 [允许取消分录]
*/
public void setUpdatePosted(Boolean updatePosted){
this.updatePosted = updatePosted ;
this.modify("update_posted",updatePosted);
}
/**
* 设置 [类型]
*/
......
......@@ -262,11 +262,9 @@ public class Account_bank_statement_import_journal_creationServiceImpl extends E
et.setRefundSequence(odooJournal.getRefundSequence());
et.setAtLeastOneOutbound(odooJournal.getAtLeastOneOutbound());
et.setProfitAccountId(odooJournal.getProfitAccountId());
et.setUpdatePosted(odooJournal.getUpdatePosted());
et.setRefundSequenceNumberNext(odooJournal.getRefundSequenceNumberNext());
et.setAliasId(odooJournal.getAliasId());
et.setCode(odooJournal.getCode());
et.setGroupInvoiceLines(odooJournal.getGroupInvoiceLines());
et.setAliasName(odooJournal.getAliasName());
et.setBankAccountId(odooJournal.getBankAccountId());
et.setColor(odooJournal.getColor());
......@@ -281,7 +279,6 @@ public class Account_bank_statement_import_journal_creationServiceImpl extends E
et.setKanbanDashboard(odooJournal.getKanbanDashboard());
et.setKanbanDashboardGraph(odooJournal.getKanbanDashboardGraph());
et.setShowOnDashboard(odooJournal.getShowOnDashboard());
et.setPostAtBankRec(odooJournal.getPostAtBankRec());
et.setBelongsToCompany(odooJournal.getBelongsToCompany());
et.setName(odooJournal.getName());
et.setType(odooJournal.getType());
......
......@@ -491,10 +491,10 @@ public class Res_usersServiceImpl extends EBSServiceImpl<Res_usersMapper, Res_us
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employee_categoryService hrEmployeeCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employee_skillService hrEmployeeSkillService;
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employeeService hrEmployeeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employeeService hrEmployeeService;
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employee_skillService hrEmployeeSkillService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_expense_refuse_wizardService hrExpenseRefuseWizardService;
......
......@@ -906,6 +906,22 @@ public class Hr_employee extends EntityMP implements Serializable {
@JSONField(name = "resource_calendar_id")
@JsonProperty("resource_calendar_id")
private Long resourceCalendarId;
/**
* ID
*/
@DEField(name = "leave_manager_id")
@TableField(value = "leave_manager_id")
@JSONField(name = "leave_manager_id")
@JsonProperty("leave_manager_id")
private Long leaveManagerId;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooLeaveManager;
/**
*
......@@ -1469,6 +1485,14 @@ public class Hr_employee extends EntityMP implements Serializable {
this.modify("resource_calendar_id",resourceCalendarId);
}
/**
* 设置 [ID]
*/
public void setLeaveManagerId(Long leaveManagerId){
this.leaveManagerId = leaveManagerId ;
this.modify("leave_manager_id",leaveManagerId);
}
@Override
public Serializable getDefaultKey(boolean gen) {
......
......@@ -398,6 +398,13 @@ public class Hr_employeeSearchContext extends QueryWrapperContext<Hr_employee> {
this.getSearchCond().eq("resource_calendar_id", n_resource_calendar_id_eq);
}
}
private Long n_leave_manager_id_eq;//[ID]
public void setN_leave_manager_id_eq(Long n_leave_manager_id_eq) {
this.n_leave_manager_id_eq = n_leave_manager_id_eq;
if(!ObjectUtils.isEmpty(this.n_leave_manager_id_eq)){
this.getSearchCond().eq("leave_manager_id", n_leave_manager_id_eq);
}
}
/**
* 启用快速搜索
......
......@@ -62,6 +62,8 @@ public interface Hr_employeeMapper extends BaseMapper<Hr_employee>{
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
List<Hr_employee> selectByLeaveManagerId(@Param("id") Serializable id) ;
List<Hr_employee> selectByLastAttendanceId(@Param("id") Serializable id) ;
List<Hr_employee> selectByDepartmentId(@Param("id") Serializable id) ;
......
......@@ -37,6 +37,8 @@ public interface IHr_employeeService extends IService<Hr_employee>{
boolean save(Hr_employee et) ;
void saveBatch(List<Hr_employee> list) ;
Page<Hr_employee> searchDefault(Hr_employeeSearchContext context) ;
List<Hr_employee> selectByLeaveManagerId(Long id);
void removeByLeaveManagerId(Long id);
List<Hr_employee> selectByLastAttendanceId(Long id);
void resetByLastAttendanceId(Long id);
void resetByLastAttendanceId(Collection<Long> ids);
......
......@@ -103,6 +103,9 @@ public class Hr_employeeServiceImpl extends EBSServiceImpl<Hr_employeeMapper, Hr
protected cn.ibizlab.businesscentral.core.odoo_maintenance.service.IMaintenance_requestService maintenanceRequestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_resource.service.IResource_calendarService resourceCalendarService;
@Autowired
@Lazy
......@@ -119,9 +122,6 @@ public class Hr_employeeServiceImpl extends EBSServiceImpl<Hr_employeeMapper, Hr
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partnerService resPartnerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService;
protected int batchSize = 500;
......@@ -302,6 +302,15 @@ public class Hr_employeeServiceImpl extends EBSServiceImpl<Hr_employeeMapper, Hr
}
@Override
public List<Hr_employee> selectByLeaveManagerId(Long id) {
return baseMapper.selectByLeaveManagerId(id);
}
@Override
public void removeByLeaveManagerId(Long id) {
this.remove(new QueryWrapper<Hr_employee>().eq("leave_manager_id",id));
}
@Override
public List<Hr_employee> selectByLastAttendanceId(Long id) {
return baseMapper.selectByLastAttendanceId(id);
......
......@@ -29,10 +29,8 @@
<result property="refundSequence" column="refund_sequence" />
<result property="atLeastOneOutbound" column="at_least_one_outbound" />
<result property="profitAccountId" column="profit_account_id" />
<result property="updatePosted" column="update_posted" />
<result property="refundSequenceNumberNext" column="refund_sequence_number_next" />
<result property="aliasId" column="alias_id" />
<result property="groupInvoiceLines" column="group_invoice_lines" />
<result property="aliasName" column="alias_name" />
<result property="bankAccountId" column="bank_account_id" />
<result property="atLeastOneInbound" column="at_least_one_inbound" />
......@@ -46,7 +44,6 @@
<result property="kanbanDashboard" column="kanban_dashboard" />
<result property="kanbanDashboardGraph" column="kanban_dashboard_graph" />
<result property="showOnDashboard" column="show_on_dashboard" />
<result property="postAtBankRec" column="post_at_bank_rec" />
<result property="belongsToCompany" column="belongs_to_company" />
<result property="sequenceId" column="sequence_id" />
<result property="createUid" column="create_uid" />
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="Account_journalResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.ACTIVE, t1.ALIAS_ID, t41.ALIAS_NAME, t1.AT_LEAST_ONE_INBOUND, t1.AT_LEAST_ONE_OUTBOUND, t1.BANK_ACCOUNT_ID, t51.ACC_NUMBER AS BANK_ACC_NUMBER, t51.BANK_ID, t1.BANK_STATEMENTS_SOURCE, t1.CODE, t1.COLOR, t1.COMPANY_ID, t131.NAME AS COMPANY_ID_TEXT, t101.PARTNER_ID AS COMPANY_PARTNER_ID, t1.CREATE_DATE, t1.CREATE_UID, t21.NAME AS CREATE_UID_TEXT, t1.CURRENCY_ID, t121.NAME AS CURRENCY_ID_TEXT, t1.DEFAULT_CREDIT_ACCOUNT_ID, t91.NAME AS DEFAULT_CREDIT_ACCOUNT_ID_TEXT, t1.DEFAULT_DEBIT_ACCOUNT_ID, t111.NAME AS DEFAULT_DEBIT_ACCOUNT_ID_TEXT, t1.GROUP_INVOICE_LINES, t1.ID, t1.JOURNAL_USER, t1.LOSS_ACCOUNT_ID, t81.NAME AS LOSS_ACCOUNT_ID_TEXT, t1.NAME, t1.POST_AT_BANK_REC, t1.PROFIT_ACCOUNT_ID, t31.NAME AS PROFIT_ACCOUNT_ID_TEXT, t1.REFUND_SEQUENCE, t1.REFUND_SEQUENCE_ID, t1.SEQUENCE, t1.SEQUENCE_ID, t1.SHOW_ON_DASHBOARD, t1.TYPE, t1.UPDATE_POSTED, t1.WRITE_DATE, t1.WRITE_UID, t71.NAME AS WRITE_UID_TEXT FROM ACCOUNT_JOURNAL t1 LEFT JOIN RES_USERS t11 ON t1.CREATE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN ACCOUNT_ACCOUNT t31 ON t1.PROFIT_ACCOUNT_ID = t31.ID LEFT JOIN MAIL_ALIAS t41 ON t1.ALIAS_ID = t41.ID LEFT JOIN RES_PARTNER_BANK t51 ON t1.BANK_ACCOUNT_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.WRITE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN ACCOUNT_ACCOUNT t81 ON t1.LOSS_ACCOUNT_ID = t81.ID LEFT JOIN ACCOUNT_ACCOUNT t91 ON t1.DEFAULT_CREDIT_ACCOUNT_ID = t91.ID LEFT JOIN RES_COMPANY t101 ON t1.COMPANY_ID = t101.ID LEFT JOIN ACCOUNT_ACCOUNT t111 ON t1.DEFAULT_DEBIT_ACCOUNT_ID = t111.ID LEFT JOIN RES_CURRENCY t121 ON t1.CURRENCY_ID = t121.ID LEFT JOIN RES_PARTNER t131 ON t101.PARTNER_ID = t131.ID ) t1 where id=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.ACTIVE, t1.ALIAS_ID, t41.ALIAS_NAME, t1.AT_LEAST_ONE_INBOUND, t1.AT_LEAST_ONE_OUTBOUND, t1.BANK_ACCOUNT_ID, t51.ACC_NUMBER AS BANK_ACC_NUMBER, t51.BANK_ID, t1.BANK_STATEMENTS_SOURCE, t1.CODE, t1.COLOR, t1.COMPANY_ID, t131.NAME AS COMPANY_ID_TEXT, t101.PARTNER_ID AS COMPANY_PARTNER_ID, t1.CREATE_DATE, t1.CREATE_UID, t21.NAME AS CREATE_UID_TEXT, t1.CURRENCY_ID, t121.NAME AS CURRENCY_ID_TEXT, t1.DEFAULT_CREDIT_ACCOUNT_ID, t91.NAME AS DEFAULT_CREDIT_ACCOUNT_ID_TEXT, t1.DEFAULT_DEBIT_ACCOUNT_ID, t111.NAME AS DEFAULT_DEBIT_ACCOUNT_ID_TEXT, t1.ID, t1.LOSS_ACCOUNT_ID, t81.NAME AS LOSS_ACCOUNT_ID_TEXT, t1.NAME, t1.PROFIT_ACCOUNT_ID, t31.NAME AS PROFIT_ACCOUNT_ID_TEXT, t1.REFUND_SEQUENCE, t1.REFUND_SEQUENCE_ID, t1.SEQUENCE, t1.SEQUENCE_ID, t1.SHOW_ON_DASHBOARD, t1.TYPE, t1.WRITE_DATE, t1.WRITE_UID, t71.NAME AS WRITE_UID_TEXT FROM ACCOUNT_JOURNAL t1 LEFT JOIN RES_USERS t11 ON t1.CREATE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN ACCOUNT_ACCOUNT t31 ON t1.PROFIT_ACCOUNT_ID = t31.ID LEFT JOIN MAIL_ALIAS t41 ON t1.ALIAS_ID = t41.ID LEFT JOIN RES_PARTNER_BANK t51 ON t1.BANK_ACCOUNT_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.WRITE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN ACCOUNT_ACCOUNT t81 ON t1.LOSS_ACCOUNT_ID = t81.ID LEFT JOIN ACCOUNT_ACCOUNT t91 ON t1.DEFAULT_CREDIT_ACCOUNT_ID = t91.ID LEFT JOIN RES_COMPANY t101 ON t1.COMPANY_ID = t101.ID LEFT JOIN ACCOUNT_ACCOUNT t111 ON t1.DEFAULT_DEBIT_ACCOUNT_ID = t111.ID LEFT JOIN RES_CURRENCY t121 ON t1.CURRENCY_ID = t121.ID LEFT JOIN RES_PARTNER t131 ON t101.PARTNER_ID = t131.ID ) t1 where id=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -17,21 +17,17 @@
<result property="atLeastOneOutbound" column="at_least_one_outbound" />
<result property="sequenceId" column="sequence_id" />
<result property="showOnDashboard" column="show_on_dashboard" />
<result property="journalUser" column="journal_user" />
<result property="bankStatementsSource" column="bank_statements_source" />
<result property="atLeastOneInbound" column="at_least_one_inbound" />
<result property="postAtBankRec" column="post_at_bank_rec" />
<result property="sequenceNumberNext" column="sequence_number_next" />
<result property="belongsToCompany" column="belongs_to_company" />
<result property="createDate" column="create_date" />
<result property="inboundPaymentMethodIds" column="inbound_payment_method_ids" />
<result property="displayName" column="display_name" />
<result property="LastUpdate" column="__last_update" />
<result property="groupInvoiceLines" column="group_invoice_lines" />
<result property="refundSequenceId" column="refund_sequence_id" />
<result property="aliasDomain" column="alias_domain" />
<result property="accountControlIds" column="account_control_ids" />
<result property="updatePosted" column="update_posted" />
<result property="kanbanDashboardGraph" column="kanban_dashboard_graph" />
<result property="outboundPaymentMethodIds" column="outbound_payment_method_ids" />
<result property="kanbanDashboard" column="kanban_dashboard" />
......@@ -164,12 +160,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.ACTIVE, t1.ALIAS_ID, t41.ALIAS_NAME, t1.AT_LEAST_ONE_INBOUND, t1.AT_LEAST_ONE_OUTBOUND, t1.BANK_ACCOUNT_ID, t51.ACC_NUMBER AS BANK_ACC_NUMBER, t51.BANK_ID, t1.BANK_STATEMENTS_SOURCE, t1.CODE, t1.COLOR, t1.COMPANY_ID, t131.NAME AS COMPANY_ID_TEXT, t101.PARTNER_ID AS COMPANY_PARTNER_ID, t1.CREATE_DATE, t1.CREATE_UID, t21.NAME AS CREATE_UID_TEXT, t1.CURRENCY_ID, t121.NAME AS CURRENCY_ID_TEXT, t1.DEFAULT_CREDIT_ACCOUNT_ID, t91.NAME AS DEFAULT_CREDIT_ACCOUNT_ID_TEXT, t1.DEFAULT_DEBIT_ACCOUNT_ID, t111.NAME AS DEFAULT_DEBIT_ACCOUNT_ID_TEXT, t1.GROUP_INVOICE_LINES, t1.ID, t1.JOURNAL_USER, t1.LOSS_ACCOUNT_ID, t81.NAME AS LOSS_ACCOUNT_ID_TEXT, t1.NAME, t1.POST_AT_BANK_REC, t1.PROFIT_ACCOUNT_ID, t31.NAME AS PROFIT_ACCOUNT_ID_TEXT, t1.REFUND_SEQUENCE, t1.REFUND_SEQUENCE_ID, t1.SEQUENCE, t1.SEQUENCE_ID, t1.SHOW_ON_DASHBOARD, t1.TYPE, t1.UPDATE_POSTED, t1.WRITE_DATE, t1.WRITE_UID, t71.NAME AS WRITE_UID_TEXT FROM ACCOUNT_JOURNAL t1 LEFT JOIN RES_USERS t11 ON t1.CREATE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN ACCOUNT_ACCOUNT t31 ON t1.PROFIT_ACCOUNT_ID = t31.ID LEFT JOIN MAIL_ALIAS t41 ON t1.ALIAS_ID = t41.ID LEFT JOIN RES_PARTNER_BANK t51 ON t1.BANK_ACCOUNT_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.WRITE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN ACCOUNT_ACCOUNT t81 ON t1.LOSS_ACCOUNT_ID = t81.ID LEFT JOIN ACCOUNT_ACCOUNT t91 ON t1.DEFAULT_CREDIT_ACCOUNT_ID = t91.ID LEFT JOIN RES_COMPANY t101 ON t1.COMPANY_ID = t101.ID LEFT JOIN ACCOUNT_ACCOUNT t111 ON t1.DEFAULT_DEBIT_ACCOUNT_ID = t111.ID LEFT JOIN RES_CURRENCY t121 ON t1.CURRENCY_ID = t121.ID LEFT JOIN RES_PARTNER t131 ON t101.PARTNER_ID = t131.ID
<![CDATA[ SELECT t1.ACTIVE, t1.ALIAS_ID, t41.ALIAS_NAME, t1.AT_LEAST_ONE_INBOUND, t1.AT_LEAST_ONE_OUTBOUND, t1.BANK_ACCOUNT_ID, t51.ACC_NUMBER AS BANK_ACC_NUMBER, t51.BANK_ID, t1.BANK_STATEMENTS_SOURCE, t1.CODE, t1.COLOR, t1.COMPANY_ID, t131.NAME AS COMPANY_ID_TEXT, t101.PARTNER_ID AS COMPANY_PARTNER_ID, t1.CREATE_DATE, t1.CREATE_UID, t21.NAME AS CREATE_UID_TEXT, t1.CURRENCY_ID, t121.NAME AS CURRENCY_ID_TEXT, t1.DEFAULT_CREDIT_ACCOUNT_ID, t91.NAME AS DEFAULT_CREDIT_ACCOUNT_ID_TEXT, t1.DEFAULT_DEBIT_ACCOUNT_ID, t111.NAME AS DEFAULT_DEBIT_ACCOUNT_ID_TEXT, t1.ID, t1.LOSS_ACCOUNT_ID, t81.NAME AS LOSS_ACCOUNT_ID_TEXT, t1.NAME, t1.PROFIT_ACCOUNT_ID, t31.NAME AS PROFIT_ACCOUNT_ID_TEXT, t1.REFUND_SEQUENCE, t1.REFUND_SEQUENCE_ID, t1.SEQUENCE, t1.SEQUENCE_ID, t1.SHOW_ON_DASHBOARD, t1.TYPE, t1.WRITE_DATE, t1.WRITE_UID, t71.NAME AS WRITE_UID_TEXT FROM ACCOUNT_JOURNAL t1 LEFT JOIN RES_USERS t11 ON t1.CREATE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN ACCOUNT_ACCOUNT t31 ON t1.PROFIT_ACCOUNT_ID = t31.ID LEFT JOIN MAIL_ALIAS t41 ON t1.ALIAS_ID = t41.ID LEFT JOIN RES_PARTNER_BANK t51 ON t1.BANK_ACCOUNT_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.WRITE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN ACCOUNT_ACCOUNT t81 ON t1.LOSS_ACCOUNT_ID = t81.ID LEFT JOIN ACCOUNT_ACCOUNT t91 ON t1.DEFAULT_CREDIT_ACCOUNT_ID = t91.ID LEFT JOIN RES_COMPANY t101 ON t1.COMPANY_ID = t101.ID LEFT JOIN ACCOUNT_ACCOUNT t111 ON t1.DEFAULT_DEBIT_ACCOUNT_ID = t111.ID LEFT JOIN RES_CURRENCY t121 ON t1.CURRENCY_ID = t121.ID LEFT JOIN RES_PARTNER t131 ON t101.PARTNER_ID = t131.ID
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.ACTIVE, t1.ALIAS_ID, t41.ALIAS_NAME, t1.AT_LEAST_ONE_INBOUND, t1.AT_LEAST_ONE_OUTBOUND, t1.BANK_ACCOUNT_ID, t51.ACC_NUMBER AS BANK_ACC_NUMBER, t51.BANK_ID, t1.BANK_STATEMENTS_SOURCE, t1.CODE, t1.COLOR, t1.COMPANY_ID, t131.NAME AS COMPANY_ID_TEXT, t101.PARTNER_ID AS COMPANY_PARTNER_ID, t1.CREATE_DATE, t1.CREATE_UID, t21.NAME AS CREATE_UID_TEXT, t1.CURRENCY_ID, t121.NAME AS CURRENCY_ID_TEXT, t1.DEFAULT_CREDIT_ACCOUNT_ID, t91.NAME AS DEFAULT_CREDIT_ACCOUNT_ID_TEXT, t1.DEFAULT_DEBIT_ACCOUNT_ID, t111.NAME AS DEFAULT_DEBIT_ACCOUNT_ID_TEXT, t1.GROUP_INVOICE_LINES, t1.ID, t1.JOURNAL_USER, t1.LOSS_ACCOUNT_ID, t81.NAME AS LOSS_ACCOUNT_ID_TEXT, t1.NAME, t1.POST_AT_BANK_REC, t1.PROFIT_ACCOUNT_ID, t31.NAME AS PROFIT_ACCOUNT_ID_TEXT, t1.REFUND_SEQUENCE, t1.REFUND_SEQUENCE_ID, t1.SEQUENCE, t1.SEQUENCE_ID, t1.SHOW_ON_DASHBOARD, t1.TYPE, t1.UPDATE_POSTED, t1.WRITE_DATE, t1.WRITE_UID, t71.NAME AS WRITE_UID_TEXT FROM ACCOUNT_JOURNAL t1 LEFT JOIN RES_USERS t11 ON t1.CREATE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN ACCOUNT_ACCOUNT t31 ON t1.PROFIT_ACCOUNT_ID = t31.ID LEFT JOIN MAIL_ALIAS t41 ON t1.ALIAS_ID = t41.ID LEFT JOIN RES_PARTNER_BANK t51 ON t1.BANK_ACCOUNT_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.WRITE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN ACCOUNT_ACCOUNT t81 ON t1.LOSS_ACCOUNT_ID = t81.ID LEFT JOIN ACCOUNT_ACCOUNT t91 ON t1.DEFAULT_CREDIT_ACCOUNT_ID = t91.ID LEFT JOIN RES_COMPANY t101 ON t1.COMPANY_ID = t101.ID LEFT JOIN ACCOUNT_ACCOUNT t111 ON t1.DEFAULT_DEBIT_ACCOUNT_ID = t111.ID LEFT JOIN RES_CURRENCY t121 ON t1.CURRENCY_ID = t121.ID LEFT JOIN RES_PARTNER t131 ON t101.PARTNER_ID = t131.ID
<![CDATA[ SELECT t1.ACTIVE, t1.ALIAS_ID, t41.ALIAS_NAME, t1.AT_LEAST_ONE_INBOUND, t1.AT_LEAST_ONE_OUTBOUND, t1.BANK_ACCOUNT_ID, t51.ACC_NUMBER AS BANK_ACC_NUMBER, t51.BANK_ID, t1.BANK_STATEMENTS_SOURCE, t1.CODE, t1.COLOR, t1.COMPANY_ID, t131.NAME AS COMPANY_ID_TEXT, t101.PARTNER_ID AS COMPANY_PARTNER_ID, t1.CREATE_DATE, t1.CREATE_UID, t21.NAME AS CREATE_UID_TEXT, t1.CURRENCY_ID, t121.NAME AS CURRENCY_ID_TEXT, t1.DEFAULT_CREDIT_ACCOUNT_ID, t91.NAME AS DEFAULT_CREDIT_ACCOUNT_ID_TEXT, t1.DEFAULT_DEBIT_ACCOUNT_ID, t111.NAME AS DEFAULT_DEBIT_ACCOUNT_ID_TEXT, t1.ID, t1.LOSS_ACCOUNT_ID, t81.NAME AS LOSS_ACCOUNT_ID_TEXT, t1.NAME, t1.PROFIT_ACCOUNT_ID, t31.NAME AS PROFIT_ACCOUNT_ID_TEXT, t1.REFUND_SEQUENCE, t1.REFUND_SEQUENCE_ID, t1.SEQUENCE, t1.SEQUENCE_ID, t1.SHOW_ON_DASHBOARD, t1.TYPE, t1.WRITE_DATE, t1.WRITE_UID, t71.NAME AS WRITE_UID_TEXT FROM ACCOUNT_JOURNAL t1 LEFT JOIN RES_USERS t11 ON t1.CREATE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN ACCOUNT_ACCOUNT t31 ON t1.PROFIT_ACCOUNT_ID = t31.ID LEFT JOIN MAIL_ALIAS t41 ON t1.ALIAS_ID = t41.ID LEFT JOIN RES_PARTNER_BANK t51 ON t1.BANK_ACCOUNT_ID = t51.ID LEFT JOIN RES_USERS t61 ON t1.WRITE_UID = t61.ID LEFT JOIN RES_PARTNER t71 ON t61.PARTNER_ID = t71.ID LEFT JOIN ACCOUNT_ACCOUNT t81 ON t1.LOSS_ACCOUNT_ID = t81.ID LEFT JOIN ACCOUNT_ACCOUNT t91 ON t1.DEFAULT_CREDIT_ACCOUNT_ID = t91.ID LEFT JOIN RES_COMPANY t101 ON t1.COMPANY_ID = t101.ID LEFT JOIN ACCOUNT_ACCOUNT t111 ON t1.DEFAULT_DEBIT_ACCOUNT_ID = t111.ID LEFT JOIN RES_CURRENCY t121 ON t1.CURRENCY_ID = t121.ID LEFT JOIN RES_PARTNER t131 ON t101.PARTNER_ID = t131.ID
]]>
</sql>
......
......@@ -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.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}]]>
<![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.LEAVE_MANAGER_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自动处理映射关系 -->
......@@ -110,8 +110,11 @@
<result property="addressId" column="address_id" />
<result property="countryOfBirth" column="country_of_birth" />
<result property="resourceCalendarId" column="resource_calendar_id" />
<result property="leaveManagerId" column="leave_manager_id" />
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="odooLeaveManager" javaType="cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users" column="leave_manager_id" select="cn.ibizlab.businesscentral.core.odoo_base.mapper.Res_usersMapper.selectById" fetchType="lazy"></association>
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="odooLastAttendance" javaType="cn.ibizlab.businesscentral.core.odoo_hr.domain.Hr_attendance" column="last_attendance_id" select="cn.ibizlab.businesscentral.core.odoo_hr.mapper.Hr_attendanceMapper.selectById" fetchType="lazy"></association>
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
......@@ -148,6 +151,13 @@
<association property="odooWrite" javaType="cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users" column="write_uid" select="cn.ibizlab.businesscentral.core.odoo_base.mapper.Res_usersMapper.selectById" fetchType="lazy"></association>
</resultMap>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_HR_EMPLOYEE_RES_USERS_LEAVE_MANAGER_ID] -->
<select id="selectByLeaveManagerId" resultMap="Hr_employeeResultMap">
select t1.* from (
<include refid="Default" />
) t1
where leave_manager_id=#{id}
</select>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_HR_EMPLOYEE__HR_ATTENDANCE__LAST_ATTENDANCE_ID] -->
<select id="selectByLastAttendanceId" resultMap="Hr_employeeResultMap">
select t1.* from (
......@@ -279,12 +289,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.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
<![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.LEAVE_MANAGER_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.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
<![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.LEAVE_MANAGER_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>
......
......@@ -6129,23 +6129,6 @@
"major_field":0
},
{
"fieldname":"UPDATE_POSTED" ,
"codename":"Update_posted",
"field_logic_name":"允许取消分录",
"entity_name":"Account_bank_statement_import_journal_creation",
"ref_de":"ACCOUNT_JOURNAL",
"ref_field_name":"UPDATE_POSTED",
"relation_name":"DER1N_ACCOUNT_BANK_STATEMENT_IMPORT_JOURNAL_CREATION__ACCOUNT_JOURNAL__JOURNAL_ID",
"relation_codename":"Odoo_journal",
"field_type":"PICKUPDATA",
"nullable":1,
"physical_field":0,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"REFUND_SEQUENCE_NUMBER_NEXT" ,
"codename":"Refund_sequence_number_next",
"field_logic_name":"信用票:下一号码",
......@@ -6198,23 +6181,6 @@
"major_field":0
},
{
"fieldname":"GROUP_INVOICE_LINES" ,
"codename":"Group_invoice_lines",
"field_logic_name":"分组发票明细行",
"entity_name":"Account_bank_statement_import_journal_creation",
"ref_de":"ACCOUNT_JOURNAL",
"ref_field_name":"GROUP_INVOICE_LINES",
"relation_name":"DER1N_ACCOUNT_BANK_STATEMENT_IMPORT_JOURNAL_CREATION__ACCOUNT_JOURNAL__JOURNAL_ID",
"relation_codename":"Odoo_journal",
"field_type":"PICKUPDATA",
"nullable":1,
"physical_field":0,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"ALIAS_NAME" ,
"codename":"Alias_name",
"field_logic_name":"供应商账单的别名",
......@@ -6477,23 +6443,6 @@
"major_field":0
},
{
"fieldname":"POST_AT_BANK_REC" ,
"codename":"Post_at_bank_rec",
"field_logic_name":"银行核销时过账",
"entity_name":"Account_bank_statement_import_journal_creation",
"ref_de":"ACCOUNT_JOURNAL",
"ref_field_name":"POST_AT_BANK_REC",
"relation_name":"DER1N_ACCOUNT_BANK_STATEMENT_IMPORT_JOURNAL_CREATION__ACCOUNT_JOURNAL__JOURNAL_ID",
"relation_codename":"Odoo_journal",
"field_type":"PICKUPDATA",
"nullable":1,
"physical_field":0,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"BELONGS_TO_COMPANY" ,
"codename":"Belongs_to_company",
"field_logic_name":"属于用户的当前公司",
......@@ -18818,19 +18767,6 @@
"major_field":0
},
{
"fieldname":"JOURNAL_USER" ,
"codename":"Journal_user",
"field_logic_name":"在销售点中使用",
"entity_name":"Account_journal",
"field_type":"TRUEFALSE",
"nullable":1,
"physical_field":1,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"ID" ,
"codename":"Id",
"field_logic_name":"ID",
......@@ -18872,19 +18808,6 @@
"major_field":0
},
{
"fieldname":"POST_AT_BANK_REC" ,
"codename":"Post_at_bank_rec",
"field_logic_name":"银行核销时过账",
"entity_name":"Account_journal",
"field_type":"TRUEFALSE",
"nullable":1,
"physical_field":1,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"NAME" ,
"codename":"Name",
"field_logic_name":"日记账名称",
......@@ -18994,19 +18917,6 @@
"major_field":0
},
{
"fieldname":"GROUP_INVOICE_LINES" ,
"codename":"Group_invoice_lines",
"field_logic_name":"分组发票明细行",
"entity_name":"Account_journal",
"field_type":"TRUEFALSE",
"nullable":1,
"physical_field":1,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"REFUND_SEQUENCE_ID" ,
"codename":"Refund_sequence_id",
"field_logic_name":"信用票分录序列",
......@@ -19048,19 +18958,6 @@
"major_field":0
},
{
"fieldname":"UPDATE_POSTED" ,
"codename":"Update_posted",
"field_logic_name":"允许取消分录",
"entity_name":"Account_journal",
"field_type":"TRUEFALSE",
"nullable":1,
"physical_field":1,
"data_type":"BIT",
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"KANBAN_DASHBOARD_GRAPH" ,
"codename":"Kanban_dashboard_graph",
"field_logic_name":"看板仪表板图表",
......@@ -65866,6 +65763,23 @@
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"LEAVE_MANAGER_ID" ,
"codename":"Leave_manager_id",
"field_logic_name":"ID",
"entity_name":"Hr_employee",
"ref_de":"RES_USERS",
"ref_field_name":"ID",
"relation_name":"DER1N_HR_EMPLOYEE_RES_USERS_LEAVE_MANAGER_ID",
"relation_codename":"Odoo_leave_manager",
"field_type":"PICKUP",
"nullable":1,
"physical_field":1,
"data_type":"BIGINT",
"key_field":0,
"show_order":1000,
"major_field":0
}
],
"subEntitys":[
......@@ -66009,6 +65923,12 @@
}
],
"parentEntitys":[
{"name":"DER1N_HR_EMPLOYEE_RES_USERS_LEAVE_MANAGER_ID",
"relation_type":"DER1N",
"code_name":"Odoo_leave_manager",
"entity_name":"HR_EMPLOYEE",
"ref_entity_name":"RES_USERS"
},
{"name":"DER1N_HR_EMPLOYEE__HR_ATTENDANCE__LAST_ATTENDANCE_ID",
"relation_type":"DER1N",
"code_name":"Odoo_last_attendance",
......@@ -158600,6 +158520,12 @@
"entity_name":"HR_EMPLOYEE_CATEGORY",
"ref_entity_name":"RES_USERS"
},
{"name":"DER1N_HR_EMPLOYEE_RES_USERS_LEAVE_MANAGER_ID",
"relation_type":"DER1N",
"code_name":"Odoo_leave_manager",
"entity_name":"HR_EMPLOYEE",
"ref_entity_name":"RES_USERS"
},
{"name":"DER1N_HR_EMPLOYEE_SKILL_RES_USERS_CREATE_UID",
"relation_type":"DER1N",
"code_name":"Odoo_create",
......@@ -205,14 +205,6 @@ public class Account_bank_statement_import_journal_creationDTO extends DTOBase i
@JsonSerialize(using = ToStringSerializer.class)
private Long profitAccountId;
/**
* 属性 [UPDATE_POSTED]
*
*/
@JSONField(name = "update_posted")
@JsonProperty("update_posted")
private Boolean updatePosted;
/**
* 属性 [REFUND_SEQUENCE_NUMBER_NEXT]
*
......@@ -240,14 +232,6 @@ public class Account_bank_statement_import_journal_creationDTO extends DTOBase i
@Size(min = 0, max = 5, message = "内容长度必须小于等于[5]")
private String code;
/**
* 属性 [GROUP_INVOICE_LINES]
*
*/
@JSONField(name = "group_invoice_lines")
@JsonProperty("group_invoice_lines")
private Boolean groupInvoiceLines;
/**
* 属性 [ALIAS_NAME]
*
......@@ -379,14 +363,6 @@ public class Account_bank_statement_import_journal_creationDTO extends DTOBase i
@JsonProperty("show_on_dashboard")
private Boolean showOnDashboard;
/**
* 属性 [POST_AT_BANK_REC]
*
*/
@JSONField(name = "post_at_bank_rec")
@JsonProperty("post_at_bank_rec")
private Boolean postAtBankRec;
/**
* 属性 [BELONGS_TO_COMPANY]
*
......
......@@ -88,14 +88,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
@JsonProperty("show_on_dashboard")
private Boolean showOnDashboard;
/**
* 属性 [JOURNAL_USER]
*
*/
@JSONField(name = "journal_user")
@JsonProperty("journal_user")
private Boolean journalUser;
/**
* 属性 [ID]
*
......@@ -122,14 +114,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
@JsonProperty("at_least_one_inbound")
private Boolean atLeastOneInbound;
/**
* 属性 [POST_AT_BANK_REC]
*
*/
@JSONField(name = "post_at_bank_rec")
@JsonProperty("post_at_bank_rec")
private Boolean postAtBankRec;
/**
* 属性 [NAME]
*
......@@ -202,14 +186,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 属性 [GROUP_INVOICE_LINES]
*
*/
@JSONField(name = "group_invoice_lines")
@JsonProperty("group_invoice_lines")
private Boolean groupInvoiceLines;
/**
* 属性 [REFUND_SEQUENCE_ID]
*
......@@ -236,14 +212,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
private String accountControlIds;
/**
* 属性 [UPDATE_POSTED]
*
*/
@JSONField(name = "update_posted")
@JsonProperty("update_posted")
private Boolean updatePosted;
/**
* 属性 [KANBAN_DASHBOARD_GRAPH]
*
......@@ -537,14 +505,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
this.modify("show_on_dashboard",showOnDashboard);
}
/**
* 设置 [JOURNAL_USER]
*/
public void setJournalUser(Boolean journalUser){
this.journalUser = journalUser ;
this.modify("journal_user",journalUser);
}
/**
* 设置 [BANK_STATEMENTS_SOURCE]
*/
......@@ -561,14 +521,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
this.modify("at_least_one_inbound",atLeastOneInbound);
}
/**
* 设置 [POST_AT_BANK_REC]
*/
public void setPostAtBankRec(Boolean postAtBankRec){
this.postAtBankRec = postAtBankRec ;
this.modify("post_at_bank_rec",postAtBankRec);
}
/**
* 设置 [NAME]
*/
......@@ -585,14 +537,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
this.modify("code",code);
}
/**
* 设置 [GROUP_INVOICE_LINES]
*/
public void setGroupInvoiceLines(Boolean groupInvoiceLines){
this.groupInvoiceLines = groupInvoiceLines ;
this.modify("group_invoice_lines",groupInvoiceLines);
}
/**
* 设置 [REFUND_SEQUENCE_ID]
*/
......@@ -601,14 +545,6 @@ public class Account_journalDTO extends DTOBase implements Serializable {
this.modify("refund_sequence_id",refundSequenceId);
}
/**
* 设置 [UPDATE_POSTED]
*/
public void setUpdatePosted(Boolean updatePosted){
this.updatePosted = updatePosted ;
this.modify("update_posted",updatePosted);
}
/**
* 设置 [TYPE]
*/
......
......@@ -1045,6 +1045,15 @@ public class Hr_employeeDTO extends DTOBase implements Serializable {
@JsonSerialize(using = ToStringSerializer.class)
private Long resourceCalendarId;
/**
* 属性 [LEAVE_MANAGER_ID]
*
*/
@JSONField(name = "leave_manager_id")
@JsonProperty("leave_manager_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long leaveManagerId;
/**
* 设置 [MOBILE_PHONE]
......@@ -1430,6 +1439,14 @@ public class Hr_employeeDTO extends DTOBase implements Serializable {
this.modify("resource_calendar_id",resourceCalendarId);
}
/**
* 设置 [LEAVE_MANAGER_ID]
*/
public void setLeaveManagerId(Long leaveManagerId){
this.leaveManagerId = leaveManagerId ;
this.modify("leave_manager_id",leaveManagerId);
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册