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

xignzi006 发布系统代码

上级 00e0e421
......@@ -1256,10 +1256,6 @@ zuul:
path: /res_partner_titles/**
serviceId: ${ibiz.ref.service.odoo-base:odoo-base}
stripPrefix: false
res_users:
path: /res_users/**
serviceId: ${ibiz.ref.service.odoo-base:odoo-base}
stripPrefix: false
res_users_log:
path: /res_users_logs/**
serviceId: ${ibiz.ref.service.odoo-base:odoo-base}
......
......@@ -23,1388 +23,1403 @@ import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.businesscentral.util.annotation.Audit;
import cn.ibizlab.businesscentral.util.domain.EntityClient;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.businesscentral.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* ServiceApi [用户] 对象
* 实体[用户]
*/
@Data
public class Res_users extends EntityClient implements Serializable {
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "RES_USERS",resultMap = "Res_usersResultMap")
public class Res_users extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 管理员
*/
@TableField(exist = false)
@JSONField(name = "is_moderator")
@JsonProperty("is_moderator")
private Integer isModerator;
/**
* 资源
*/
@TableField(exist = false)
@JSONField(name = "resource_ids")
@JsonProperty("resource_ids")
private String resourceIds;
/**
* 创建日期
*/
@DEField(name = "create_date" , preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "create_date" , fill = FieldFill.INSERT)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "create_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("create_date")
private Timestamp createDate;
/**
* 标签
*/
@TableField(exist = false)
@JSONField(name = "category_id")
@JsonProperty("category_id")
private String categoryId;
/**
* 默认工作时间
*/
@TableField(exist = false)
@JSONField(name = "resource_calendar_id")
@JsonProperty("resource_calendar_id")
private Integer resourceCalendarId;
/**
* 用户登录记录
*/
@TableField(exist = false)
@JSONField(name = "log_ids")
@JsonProperty("log_ids")
private String logIds;
/**
* 消息
*/
@TableField(exist = false)
@JSONField(name = "message_ids")
@JsonProperty("message_ids")
private String messageIds;
/**
* 安全PIN
*/
@DEField(name = "pos_security_pin")
@TableField(value = "pos_security_pin")
@JSONField(name = "pos_security_pin")
@JsonProperty("pos_security_pin")
private String posSecurityPin;
/**
* 徽章
*/
@TableField(exist = false)
@JSONField(name = "badge_ids")
@JsonProperty("badge_ids")
private String badgeIds;
/**
* 最后更新时间
*/
@DEField(name = "write_date" , preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "write_date")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "write_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("write_date")
private Timestamp writeDate;
/**
* ID
*/
@DEField(isKeyField=true)
@TableId(value= "id",type=IdType.AUTO)
@JSONField(name = "id")
@JsonProperty("id")
private Long id;
/**
* 公司
*/
@TableField(exist = false)
@JSONField(name = "company_ids")
@JsonProperty("company_ids")
private String companyIds;
/**
* 联系人
*/
@TableField(exist = false)
@JSONField(name = "child_ids")
@JsonProperty("child_ids")
private String childIds;
/**
* 时区偏移
*/
@TableField(exist = false)
@JSONField(name = "tz_offset")
@JsonProperty("tz_offset")
private String tzOffset;
/**
* 活动达成
*/
@DEField(name = "target_sales_done")
@TableField(value = "target_sales_done")
@JSONField(name = "target_sales_done")
@JsonProperty("target_sales_done")
private Integer targetSalesDone;
/**
* 关注者(业务伙伴)
*/
@TableField(exist = false)
@JSONField(name = "message_partner_ids")
@JsonProperty("message_partner_ids")
private String messagePartnerIds;
/**
* 通知管理
*/
@DEField(name = "notification_type")
@TableField(value = "notification_type")
@JSONField(name = "notification_type")
@JsonProperty("notification_type")
private String notificationType;
/**
* 有效
*/
@TableField(value = "active")
@JSONField(name = "active")
@JsonProperty("active")
private Integer active;
/**
* IM的状态
*/
@TableField(exist = false)
@JSONField(name = "im_status")
@JsonProperty("im_status")
private String imStatus;
/**
* 贡献值
*/
@TableField(value = "karma")
@JSONField(name = "karma")
@JsonProperty("karma")
private Integer karma;
/**
* 登记网站
*/
@DEField(name = "website_id")
@TableField(value = "website_id")
@JSONField(name = "website_id")
@JsonProperty("website_id")
private Integer websiteId;
/**
* 活动
*/
@TableField(exist = false)
@JSONField(name = "activity_ids")
@JsonProperty("activity_ids")
private String activityIds;
/**
* 金质徽章个数
*/
@TableField(exist = false)
@JSONField(name = "gold_badge")
@JsonProperty("gold_badge")
private Integer goldBadge;
/**
* 相关的员工
*/
@TableField(exist = false)
@JSONField(name = "employee_ids")
@JsonProperty("employee_ids")
private String employeeIds;
/**
* 状态
*/
@TableField(exist = false)
@JSONField(name = "state")
@JsonProperty("state")
private String state;
/**
* 管理频道
*/
@TableField(exist = false)
@JSONField(name = "moderation_channel_ids")
@JsonProperty("moderation_channel_ids")
private String moderationChannelIds;
/**
* 关注者(渠道)
*/
@TableField(exist = false)
@JSONField(name = "message_channel_ids")
@JsonProperty("message_channel_ids")
private String messageChannelIds;
/**
* 银质徽章个数
*/
@TableField(exist = false)
@JSONField(name = "silver_badge")
@JsonProperty("silver_badge")
private Integer silverBadge;
/**
* 付款令牌
*/
@TableField(exist = false)
@JSONField(name = "payment_token_ids")
@JsonProperty("payment_token_ids")
private String paymentTokenIds;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "display_name")
@JsonProperty("display_name")
private String displayName;
/**
* 公司数量
*/
@TableField(exist = false)
@JSONField(name = "companies_count")
@JsonProperty("companies_count")
private Integer companiesCount;
/**
* 销售订单目标发票
*/
@DEField(name = "target_sales_invoiced")
@TableField(value = "target_sales_invoiced")
@JSONField(name = "target_sales_invoiced")
@JsonProperty("target_sales_invoiced")
private Integer targetSalesInvoiced;
/**
* 关注者
*/
@TableField(exist = false)
@JSONField(name = "message_follower_ids")
@JsonProperty("message_follower_ids")
private String messageFollowerIds;
/**
* 最后连接
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "login_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("login_date")
private Timestamp loginDate;
/**
* 渠道
*/
@TableField(exist = false)
@JSONField(name = "channel_ids")
@JsonProperty("channel_ids")
private String channelIds;
/**
* 群组
*/
@TableField(exist = false)
@JSONField(name = "groups_id")
@JsonProperty("groups_id")
private String groupsId;
/**
* 共享用户
*/
@TableField(value = "share")
@JSONField(name = "share")
@JsonProperty("share")
private Integer share;
/**
* 银行
*/
@TableField(exist = false)
@JSONField(name = "bank_ids")
@JsonProperty("bank_ids")
private String bankIds;
/**
* 销售订单
*/
@TableField(exist = false)
@JSONField(name = "sale_order_ids")
@JsonProperty("sale_order_ids")
private String saleOrderIds;
/**
* 设置密码
*/
@TableField(exist = false)
@JSONField(name = "new_password")
@JsonProperty("new_password")
private String newPassword;
/**
* OdooBot 状态
*/
@DEField(name = "odoobot_state")
@TableField(value = "odoobot_state")
@JSONField(name = "odoobot_state")
@JsonProperty("odoobot_state")
private String odoobotState;
/**
* 公司是指业务伙伴
*/
@TableField(exist = false)
@JSONField(name = "ref_company_ids")
@JsonProperty("ref_company_ids")
private String refCompanyIds;
/**
* 密码
*/
@TableField(exist = false)
@JSONField(name = "password")
@JsonProperty("password")
private String password;
/**
* 青铜徽章数目
*/
@TableField(exist = false)
@JSONField(name = "bronze_badge")
@JsonProperty("bronze_badge")
private Integer bronzeBadge;
/**
* 会议
*/
@TableField(exist = false)
@JSONField(name = "meeting_ids")
@JsonProperty("meeting_ids")
private String meetingIds;
/**
* 最后修改日
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "__last_update" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("__last_update")
private Timestamp LastUpdate;
/**
* 待发布的帖子
*/
@TableField(exist = false)
@JSONField(name = "forum_waiting_posts_count")
@JsonProperty("forum_waiting_posts_count")
private Integer forumWaitingPostsCount;
/**
* 目标
*/
@TableField(exist = false)
@JSONField(name = "goal_ids")
@JsonProperty("goal_ids")
private String goalIds;
/**
* 签单是商机的最终目标
*/
@DEField(name = "target_sales_won")
@TableField(value = "target_sales_won")
@JSONField(name = "target_sales_won")
@JsonProperty("target_sales_won")
private Integer targetSalesWon;
/**
* 网站消息
*/
@TableField(exist = false)
@JSONField(name = "website_message_ids")
@JsonProperty("website_message_ids")
private String websiteMessageIds;
/**
* 主页动作
*/
@DEField(name = "action_id")
@TableField(value = "action_id")
@JSONField(name = "action_id")
@JsonProperty("action_id")
private Integer actionId;
/**
* 登录
*/
@TableField(value = "login")
@JSONField(name = "login")
@JsonProperty("login")
private String login;
/**
* 客户合同
*/
@TableField(exist = false)
@JSONField(name = "contract_ids")
@JsonProperty("contract_ids")
private String contractIds;
/**
* 审核数
*/
@TableField(exist = false)
@JSONField(name = "moderation_counter")
@JsonProperty("moderation_counter")
private Integer moderationCounter;
/**
* 签名
*/
@TableField(value = "signature")
@JSONField(name = "signature")
@JsonProperty("signature")
private String signature;
/**
* 用户
*/
@TableField(exist = false)
@JSONField(name = "user_ids")
@JsonProperty("user_ids")
private String userIds;
/**
* 商机
*/
@TableField(exist = false)
@JSONField(name = "opportunity_ids")
@JsonProperty("opportunity_ids")
private String opportunityIds;
/**
* 任务
*/
@TableField(exist = false)
@JSONField(name = "task_ids")
@JsonProperty("task_ids")
private String taskIds;
/**
* 发票
*/
@TableField(exist = false)
@JSONField(name = "invoice_ids")
@JsonProperty("invoice_ids")
private String invoiceIds;
/**
* 内部参考
*/
@TableField(exist = false)
@JSONField(name = "ref")
@JsonProperty("ref")
private String ref;
/**
* 错误个数
*/
@TableField(exist = false)
@JSONField(name = "message_has_error_counter")
@JsonProperty("message_has_error_counter")
private Integer messageHasErrorCounter;
/**
* 最近的在线销售订单
*/
@TableField(exist = false)
@JSONField(name = "last_website_so_id")
@JsonProperty("last_website_so_id")
private Integer lastWebsiteSoId;
/**
* 日期
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd", locale = "zh" , timezone="GMT+8")
@JSONField(name = "date" , format="yyyy-MM-dd")
@JsonProperty("date")
private Timestamp date;
/**
* 关注者
*/
@TableField(exist = false)
@JSONField(name = "message_is_follower")
@JsonProperty("message_is_follower")
private Integer messageIsFollower;
/**
* 客户位置
*/
@TableField(exist = false)
@JSONField(name = "property_stock_customer")
@JsonProperty("property_stock_customer")
private Integer propertyStockCustomer;
/**
* 最近的发票和付款匹配时间
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "last_time_entries_checked" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("last_time_entries_checked")
private Timestamp lastTimeEntriesChecked;
/**
* 语言
*/
@TableField(exist = false)
@JSONField(name = "lang")
@JsonProperty("lang")
private String lang;
/**
* 销售警告
*/
@TableField(exist = false)
@JSONField(name = "sale_warn")
@JsonProperty("sale_warn")
private String saleWarn;
/**
* #会议
*/
@TableField(exist = false)
@JSONField(name = "meeting_count")
@JsonProperty("meeting_count")
private Integer meetingCount;
/**
* 街道
*/
@TableField(exist = false)
@JSONField(name = "street")
@JsonProperty("street")
private String street;
/**
* 发票
*/
@TableField(exist = false)
@JSONField(name = "invoice_warn")
@JsonProperty("invoice_warn")
private String invoiceWarn;
/**
* 注册令牌 Token
*/
@TableField(exist = false)
@JSONField(name = "signup_token")
@JsonProperty("signup_token")
private String signupToken;
/**
* # 任务
*/
@TableField(exist = false)
@JSONField(name = "task_count")
@JsonProperty("task_count")
private Integer taskCount;
/**
* 注册令牌( Token )是有效的
*/
@TableField(exist = false)
@JSONField(name = "signup_valid")
@JsonProperty("signup_valid")
private Integer signupValid;
/**
* 未读消息计数器
*/
@TableField(exist = false)
@JSONField(name = "message_unread_counter")
@JsonProperty("message_unread_counter")
private Integer messageUnreadCounter;
/**
* 注册令牌(Token)类型
*/
@TableField(exist = false)
@JSONField(name = "signup_type")
@JsonProperty("signup_type")
private String signupType;
/**
* 应收账款
*/
@TableField(exist = false)
@JSONField(name = "property_account_receivable_id")
@JsonProperty("property_account_receivable_id")
private Integer propertyAccountReceivableId;
/**
* 网站opengraph图像
*/
@TableField(exist = false)
@JSONField(name = "website_meta_og_img")
@JsonProperty("website_meta_og_img")
private String websiteMetaOgImg;
/**
* 活动
*/
@TableField(exist = false)
@JSONField(name = "event_count")
@JsonProperty("event_count")
private Integer eventCount;
/**
* 日记账项目
*/
@TableField(exist = false)
@JSONField(name = "journal_item_count")
@JsonProperty("journal_item_count")
private Integer journalItemCount;
/**
* 上级名称
*/
@TableField(exist = false)
@JSONField(name = "parent_name")
@JsonProperty("parent_name")
private String parentName;
/**
* 用户的销售团队
*/
@TableField(exist = false)
@JSONField(name = "sale_team_id_text")
@JsonProperty("sale_team_id_text")
private String saleTeamIdText;
/**
* 应收总计
*/
@TableField(exist = false)
@JSONField(name = "credit")
@JsonProperty("credit")
private BigDecimal credit;
/**
* 商机
*/
@TableField(exist = false)
@JSONField(name = "opportunity_count")
@JsonProperty("opportunity_count")
private Integer opportunityCount;
/**
* 注册网址
*/
@TableField(exist = false)
@JSONField(name = "signup_url")
@JsonProperty("signup_url")
private String signupUrl;
/**
* 应付账款
*/
@TableField(exist = false)
@JSONField(name = "property_account_payable_id")
@JsonProperty("property_account_payable_id")
private Integer propertyAccountPayableId;
/**
* 省/ 州
*/
@TableField(exist = false)
@JSONField(name = "state_id")
@JsonProperty("state_id")
private Long stateId;
/**
* 消息递送错误
*/
@TableField(exist = false)
@JSONField(name = "message_has_error")
@JsonProperty("message_has_error")
private Integer messageHasError;
/**
* 销售订单消息
*/
@TableField(exist = false)
@JSONField(name = "sale_warn_msg")
@JsonProperty("sale_warn_msg")
private String saleWarnMsg;
/**
* 在当前网站显示
*/
@TableField(exist = false)
@JSONField(name = "website_published")
@JsonProperty("website_published")
private Integer websitePublished;
/**
* 已开票总计
*/
@TableField(exist = false)
@JSONField(name = "total_invoiced")
@JsonProperty("total_invoiced")
private BigDecimal totalInvoiced;
/**
* 应付总计
*/
@TableField(exist = false)
@JSONField(name = "debit")
@JsonProperty("debit")
private BigDecimal debit;
/**
* 销售点订单计数
*/
@TableField(exist = false)
@JSONField(name = "pos_order_count")
@JsonProperty("pos_order_count")
private Integer posOrderCount;
/**
* 最后更新者
*/
@TableField(exist = false)
@JSONField(name = "write_uid_text")
@JsonProperty("write_uid_text")
private String writeUidText;
/**
* 称谓
*/
@TableField(exist = false)
@JSONField(name = "title")
@JsonProperty("title")
private Long title;
/**
* 未读消息
*/
@TableField(exist = false)
@JSONField(name = "message_unread")
@JsonProperty("message_unread")
private Integer messageUnread;
/**
* #供应商账单
*/
@TableField(exist = false)
@JSONField(name = "supplier_invoice_count")
@JsonProperty("supplier_invoice_count")
private Integer supplierInvoiceCount;
/**
* 城市
*/
@TableField(exist = false)
@JSONField(name = "city")
@JsonProperty("city")
private String city;
/**
* 库存拣货
*/
@TableField(exist = false)
@JSONField(name = "picking_warn")
@JsonProperty("picking_warn")
private String pickingWarn;
/**
* 附件
*/
@TableField(exist = false)
@JSONField(name = "message_main_attachment_id")
@JsonProperty("message_main_attachment_id")
private Integer messageMainAttachmentId;
/**
* 责任用户
*/
@TableField(exist = false)
@JSONField(name = "activity_user_id")
@JsonProperty("activity_user_id")
private Integer activityUserId;
/**
* 附加信息
*/
@TableField(exist = false)
@JSONField(name = "additional_info")
@JsonProperty("additional_info")
private String additionalInfo;
/**
* 工作岗位
*/
@TableField(exist = false)
@JSONField(name = "ibizfunction")
@JsonProperty("ibizfunction")
private String ibizfunction;
/**
* 网站网址
*/
@TableField(exist = false)
@JSONField(name = "website_url")
@JsonProperty("website_url")
private String websiteUrl;
/**
* 最后的提醒已经标志为已读
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "calendar_last_notif_ack" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("calendar_last_notif_ack")
private Timestamp calendarLastNotifAck;
/**
* 操作次数
*/
@TableField(exist = false)
@JSONField(name = "message_needaction_counter")
@JsonProperty("message_needaction_counter")
private Integer messageNeedactionCounter;
/**
* 下一活动截止日期
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd", locale = "zh" , timezone="GMT+8")
@JSONField(name = "activity_date_deadline" , format="yyyy-MM-dd")
@JsonProperty("activity_date_deadline")
private Timestamp activityDateDeadline;
/**
* 员工
*/
@TableField(exist = false)
@JSONField(name = "employee")
@JsonProperty("employee")
private Integer employee;
/**
* 活动状态
*/
@TableField(exist = false)
@JSONField(name = "activity_state")
@JsonProperty("activity_state")
private String activityState;
/**
* 条码
*/
@TableField(exist = false)
@JSONField(name = "barcode")
@JsonProperty("barcode")
private String barcode;
/**
* 公司数据库ID
*/
@TableField(exist = false)
@JSONField(name = "partner_gid")
@JsonProperty("partner_gid")
private Integer partnerGid;
/**
* 地址类型
*/
@TableField(exist = false)
@JSONField(name = "type")
@JsonProperty("type")
private String type;
/**
* 税号
*/
@TableField(exist = false)
@JSONField(name = "vat")
@JsonProperty("vat")
private String vat;
/**
* 采购订单消息
*/
@TableField(exist = false)
@JSONField(name = "purchase_warn_msg")
@JsonProperty("purchase_warn_msg")
private String purchaseWarnMsg;
/**
* 便签
*/
@TableField(exist = false)
@JSONField(name = "comment")
@JsonProperty("comment")
private String comment;
/**
* 供应商
*/
@TableField(exist = false)
@JSONField(name = "supplier")
@JsonProperty("supplier")
private Integer supplier;
/**
* 网站meta关键词
*/
@TableField(exist = false)
@JSONField(name = "website_meta_keywords")
@JsonProperty("website_meta_keywords")
private String websiteMetaKeywords;
/**
* 关联公司
*/
@TableField(exist = false)
@JSONField(name = "parent_id")
@JsonProperty("parent_id")
private Long parentId;
/**
* 采购订单
*/
@TableField(exist = false)
@JSONField(name = "purchase_warn")
@JsonProperty("purchase_warn")
private String purchaseWarn;
/**
* 激活的合作伙伴
*/
@TableField(exist = false)
@JSONField(name = "active_partner")
@JsonProperty("active_partner")
private Integer activePartner;
/**
* 币种
*/
@TableField(exist = false)
@JSONField(name = "currency_id")
@JsonProperty("currency_id")
private Integer currencyId;
/**
* 工业
*/
@TableField(exist = false)
@JSONField(name = "industry_id")
@JsonProperty("industry_id")
private Long industryId;
/**
* 供应商位置
*/
@TableField(exist = false)
@JSONField(name = "property_stock_supplier")
@JsonProperty("property_stock_supplier")
private Integer propertyStockSupplier;
/**
* 付款令牌计数
*/
@TableField(exist = false)
@JSONField(name = "payment_token_count")
@JsonProperty("payment_token_count")
private Integer paymentTokenCount;
/**
* 前置操作
*/
@TableField(exist = false)
@JSONField(name = "message_needaction")
@JsonProperty("message_needaction")
private Integer messageNeedaction;
/**
* 销售员
*/
@TableField(exist = false)
@JSONField(name = "user_id")
@JsonProperty("user_id")
private Long userId;
/**
* 客户
*/
@TableField(exist = false)
@JSONField(name = "customer")
@JsonProperty("customer")
private Integer customer;
/**
* 客户付款条款
*/
@TableField(exist = false)
@JSONField(name = "property_payment_term_id")
@JsonProperty("property_payment_term_id")
private Integer propertyPaymentTermId;
/**
* 下一活动类型
*/
@TableField(exist = false)
@JSONField(name = "activity_type_id")
@JsonProperty("activity_type_id")
private Integer activityTypeId;
/**
* 合同统计
*/
@TableField(exist = false)
@JSONField(name = "contracts_count")
@JsonProperty("contracts_count")
private Integer contractsCount;
/**
* 自己
*/
@TableField(exist = false)
@JSONField(name = "self")
@JsonProperty("self")
private Integer self;
/**
* 网站元说明
*/
@TableField(exist = false)
@JSONField(name = "website_meta_description")
@JsonProperty("website_meta_description")
private String websiteMetaDescription;
/**
* 图像
*/
@TableField(exist = false)
@JSONField(name = "image")
@JsonProperty("image")
private byte[] image;
/**
* EMail
*/
@TableField(exist = false)
@JSONField(name = "email")
@JsonProperty("email")
private String email;
/**
* 中等尺寸图像
*/
@TableField(exist = false)
@JSONField(name = "image_medium")
@JsonProperty("image_medium")
private byte[] imageMedium;
/**
* 下一个活动摘要
*/
@TableField(exist = false)
@JSONField(name = "activity_summary")
@JsonProperty("activity_summary")
private String activitySummary;
/**
* 应付限额
*/
@TableField(exist = false)
@JSONField(name = "debit_limit")
@JsonProperty("debit_limit")
private BigDecimal debitLimit;
/**
* 国家/地区
*/
@TableField(exist = false)
@JSONField(name = "country_id")
@JsonProperty("country_id")
private Long countryId;
/**
* 信用额度
*/
@TableField(exist = false)
@JSONField(name = "credit_limit")
@JsonProperty("credit_limit")
private Double creditLimit;
/**
* 公司名称实体
*/
@TableField(exist = false)
@JSONField(name = "commercial_company_name")
@JsonProperty("commercial_company_name")
private String commercialCompanyName;
/**
* 发票消息
*/
@TableField(exist = false)
@JSONField(name = "invoice_warn_msg")
@JsonProperty("invoice_warn_msg")
private String invoiceWarnMsg;
/**
* 已发布
*/
@TableField(exist = false)
@JSONField(name = "is_published")
@JsonProperty("is_published")
private Integer isPublished;
/**
* 对此债务人的信任度
*/
@TableField(exist = false)
@JSONField(name = "trust")
@JsonProperty("trust")
private String trust;
/**
* 手机
*/
@TableField(exist = false)
@JSONField(name = "mobile")
@JsonProperty("mobile")
private String mobile;
/**
* 格式化的邮件
*/
@TableField(exist = false)
@JSONField(name = "email_formatted")
@JsonProperty("email_formatted")
private String emailFormatted;
/**
* 公司
*/
@TableField(exist = false)
@JSONField(name = "is_company")
@JsonProperty("is_company")
private Integer isCompany;
/**
* 创建人
*/
@TableField(exist = false)
@JSONField(name = "create_uid_text")
@JsonProperty("create_uid_text")
private String createUidText;
/**
* 销售团队
*/
@TableField(exist = false)
@JSONField(name = "team_id")
@JsonProperty("team_id")
private Long teamId;
/**
* 黑名单
*/
@TableField(exist = false)
@JSONField(name = "is_blacklisted")
@JsonProperty("is_blacklisted")
private Integer isBlacklisted;
/**
* 银行
*/
@TableField(exist = false)
@JSONField(name = "bank_account_count")
@JsonProperty("bank_account_count")
private Integer bankAccountCount;
/**
* 价格表
*/
@TableField(exist = false)
@JSONField(name = "property_product_pricelist")
@JsonProperty("property_product_pricelist")
private Integer propertyProductPricelist;
/**
* 名称
*/
@TableField(exist = false)
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 库存拣货单消息
*/
@TableField(exist = false)
@JSONField(name = "picking_warn_msg")
@JsonProperty("picking_warn_msg")
private String pickingWarnMsg;
/**
* 附件数量
*/
@TableField(exist = false)
@JSONField(name = "message_attachment_count")
@JsonProperty("message_attachment_count")
private Integer messageAttachmentCount;
/**
* 网站
*/
@TableField(exist = false)
@JSONField(name = "website")
@JsonProperty("website")
private String website;
/**
* 电话
*/
@TableField(exist = false)
@JSONField(name = "phone")
@JsonProperty("phone")
private String phone;
/**
* 街道 2
*/
@TableField(exist = false)
@JSONField(name = "street2")
@JsonProperty("street2")
private String street2;
/**
* 有未核销的分录
*/
@TableField(exist = false)
@JSONField(name = "has_unreconciled_entries")
@JsonProperty("has_unreconciled_entries")
private Integer hasUnreconciledEntries;
/**
* 注册到期
*/
@TableField(exist = false)
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "signup_expiration" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("signup_expiration")
private Timestamp signupExpiration;
/**
* 时区
*/
@TableField(exist = false)
@JSONField(name = "tz")
@JsonProperty("tz")
private String tz;
/**
* 完整地址
*/
@TableField(exist = false)
@JSONField(name = "contact_address")
@JsonProperty("contact_address")
private String contactAddress;
/**
* 网站业务伙伴简介
*/
@TableField(exist = false)
@JSONField(name = "website_short_description")
@JsonProperty("website_short_description")
private String websiteShortDescription;
/**
* 共享合作伙伴
*/
@TableField(exist = false)
@JSONField(name = "partner_share")
@JsonProperty("partner_share")
private Integer partnerShare;
/**
* 公司
*/
@TableField(exist = false)
@JSONField(name = "company_id_text")
@JsonProperty("company_id_text")
private String companyIdText;
/**
* 颜色索引
*/
@TableField(exist = false)
@JSONField(name = "color")
@JsonProperty("color")
private Integer color;
/**
* 邮政编码
*/
@TableField(exist = false)
@JSONField(name = "zip")
@JsonProperty("zip")
private String zip;
/**
* 销售订单个数
*/
@TableField(exist = false)
@JSONField(name = "sale_order_count")
@JsonProperty("sale_order_count")
private Integer saleOrderCount;
/**
* 公司类别
*/
@TableField(exist = false)
@JSONField(name = "company_type")
@JsonProperty("company_type")
private String companyType;
/**
* 税科目调整
*/
@TableField(exist = false)
@JSONField(name = "property_account_position_id")
@JsonProperty("property_account_position_id")
private Integer propertyAccountPositionId;
/**
* SEO优化
*/
@TableField(exist = false)
@JSONField(name = "is_seo_optimized")
@JsonProperty("is_seo_optimized")
private Integer isSeoOptimized;
/**
* 退回
*/
@TableField(exist = false)
@JSONField(name = "message_bounce")
@JsonProperty("message_bounce")
private Integer messageBounce;
/**
* 网站meta标题
*/
@TableField(exist = false)
@JSONField(name = "website_meta_title")
@JsonProperty("website_meta_title")
private String websiteMetaTitle;
/**
* 小尺寸图像
*/
@TableField(exist = false)
@JSONField(name = "image_small")
@JsonProperty("image_small")
private byte[] imageSmall;
/**
* 供应商货币
*/
@TableField(exist = false)
@JSONField(name = "property_purchase_currency_id")
@JsonProperty("property_purchase_currency_id")
private Integer propertyPurchaseCurrencyId;
/**
* 采购订单数
*/
@TableField(exist = false)
@JSONField(name = "purchase_order_count")
@JsonProperty("purchase_order_count")
private Integer purchaseOrderCount;
/**
* 网站业务伙伴的详细说明
*/
@TableField(exist = false)
@JSONField(name = "website_description")
@JsonProperty("website_description")
private String websiteDescription;
/**
* 供应商付款条款
*/
@TableField(exist = false)
@JSONField(name = "property_supplier_payment_term_id")
@JsonProperty("property_supplier_payment_term_id")
private Integer propertySupplierPaymentTermId;
/**
* 商业实体
*/
@TableField(exist = false)
@JSONField(name = "commercial_partner_id")
@JsonProperty("commercial_partner_id")
private Long commercialPartnerId;
/**
* 安全联系人别名
*/
@TableField(exist = false)
@JSONField(name = "alias_contact")
@JsonProperty("alias_contact")
private String aliasContact;
/**
* 公司名称
*/
@TableField(exist = false)
@JSONField(name = "company_name")
@JsonProperty("company_name")
private String companyName;
/**
* 公司
*/
@DEField(name = "company_id")
@TableField(value = "company_id")
@JSONField(name = "company_id")
@JsonProperty("company_id")
private Long companyId;
/**
* 相关的业务伙伴
*/
@DEField(name = "partner_id")
@TableField(value = "partner_id")
@JSONField(name = "partner_id")
@JsonProperty("partner_id")
private Long partnerId;
/**
* 别名
*/
@DEField(name = "alias_id")
@TableField(value = "alias_id")
@JSONField(name = "alias_id")
@JsonProperty("alias_id")
private Long aliasId;
/**
* 用户的销售团队
*/
@DEField(name = "sale_team_id")
@TableField(value = "sale_team_id")
@JSONField(name = "sale_team_id")
@JsonProperty("sale_team_id")
private Long saleTeamId;
/**
* 最后更新者
*/
@DEField(name = "write_uid" , preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "write_uid")
@JSONField(name = "write_uid")
@JsonProperty("write_uid")
private Long writeUid;
/**
* 创建人
*/
@DEField(name = "create_uid" , preType = DEPredefinedFieldType.CREATEMAN)
@TableField(value = "create_uid" , fill = FieldFill.INSERT)
@JSONField(name = "create_uid")
@JsonProperty("create_uid")
private Long createUid;
/**
*
*/
@JSONField(name = "odoosaleteam")
@JsonProperty("odoosaleteam")
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_crm.domain.Crm_team odooSaleTeam;
/**
*
*/
@JSONField(name = "odooalias")
@JsonProperty("odooalias")
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_mail.domain.Mail_alias odooAlias;
/**
*
*/
@JSONField(name = "odoocompany")
@JsonProperty("odoocompany")
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_company odooCompany;
/**
*
*/
@JSONField(name = "odoopartner")
@JsonProperty("odoopartner")
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_partner odooPartner;
/**
*
*/
@JSONField(name = "odoocreate")
@JsonProperty("odoocreate")
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate;
/**
*
*/
@JSONField(name = "odoowrite")
@JsonProperty("odoowrite")
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite;
/**
* 设置 [安全PIN]
*/
......@@ -1541,6 +1556,11 @@ public class Res_users extends EntityClient implements Serializable {
this.modify("sale_team_id",saleTeamId);
}
@Override
public Serializable getDefaultKey(boolean gen) {
return IdWorker.getId();
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
......
......@@ -17,14 +17,30 @@ import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
import cn.ibizlab.businesscentral.util.filter.SearchContextBase;
import cn.ibizlab.businesscentral.util.filter.QueryWrapperContext;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users;
/**
* ServiceApi数据实体[Res_users] 查询条件对象
* 关系型数据实体[Res_users] 查询条件对象
*/
@Slf4j
@Data
public class Res_usersSearchContext extends SearchContextBase {
public class Res_usersSearchContext extends QueryWrapperContext<Res_users> {
/**
* 启用快速搜索
*/
public void setQuery(String query)
{
this.query=query;
if(!StringUtils.isEmpty(query)){
this.getSearchCond().and( wrapper ->
wrapper.like("name", query)
);
}
}
}
package cn.ibizlab.businesscentral.core.odoo_base.mapper;
import java.util.List;
import org.apache.ibatis.annotations.*;
import java.util.Map;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import java.util.HashMap;
import org.apache.ibatis.annotations.Select;
import cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users;
import cn.ibizlab.businesscentral.core.odoo_base.filter.Res_usersSearchContext;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import java.io.Serializable;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.alibaba.fastjson.JSONObject;
public interface Res_usersMapper extends BaseMapper<Res_users>{
Page<Res_users> searchDefault(IPage page, @Param("srf") Res_usersSearchContext context, @Param("ew") Wrapper<Res_users> wrapper) ;
@Override
Res_users selectById(Serializable id);
@Override
int insert(Res_users entity);
@Override
int updateById(@Param(Constants.ENTITY) Res_users entity);
@Override
int update(@Param(Constants.ENTITY) Res_users entity, @Param("ew") Wrapper<Res_users> updateWrapper);
@Override
int deleteById(Serializable id);
/**
* 自定义查询SQL
* @param sql
* @return
*/
@Select("${sql}")
List<JSONObject> selectBySQL(@Param("sql") String sql, @Param("et")Map param);
/**
* 自定义更新SQL
* @param sql
* @return
*/
@Update("${sql}")
boolean updateBySQL(@Param("sql") String sql, @Param("et")Map param);
/**
* 自定义插入SQL
* @param sql
* @return
*/
@Insert("${sql}")
boolean insertBySQL(@Param("sql") String sql, @Param("et")Map param);
/**
* 自定义删除SQL
* @param sql
* @return
*/
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
}
......@@ -19,10 +19,12 @@ import cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users;
import cn.ibizlab.businesscentral.core.odoo_base.filter.Res_usersSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* 实体[Res_users] 服务对象接口
*/
public interface IRes_usersService{
public interface IRes_usersService extends IService<Res_users>{
boolean create(Res_users et) ;
void createBatch(List<Res_users> list) ;
......@@ -32,8 +34,23 @@ public interface IRes_usersService{
void removeBatch(Collection<Long> idList) ;
Res_users get(Long key) ;
Page<Res_users> searchDefault(Res_usersSearchContext context) ;
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
* @param param 参数列表 param.put("param","1");
* @return select * from table where id = '1'
*/
List<JSONObject> select(String sql, Map param);
/**
*自定义SQL
* @param sql update table set name ='test' where id =#{et.param}
* @param param 参数列表 param.put("param","1");
* @return update table set name ='test' where id = '1'
*/
boolean execute(String sql, Map param);
List<Res_users> getResUsersByIds(List<String> ids) ;
List<Res_users> getResUsersByEntities(List<Res_users> entities) ;
}
......@@ -45,6 +45,9 @@ public class Res_companyServiceImpl implements IRes_companyService {
@Autowired
res_companyFeignClient res_companyFeignClient;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService;
@Override
public boolean create(Res_company et) {
......
......@@ -45,6 +45,9 @@ public class Res_partnerServiceImpl implements IRes_partnerService {
@Autowired
res_partnerFeignClient res_partnerFeignClient;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService;
@Override
public boolean create(Res_partner et) {
......
......@@ -33,79 +33,1424 @@ import cn.ibizlab.businesscentral.util.helper.CachedBeanCopier;
import cn.ibizlab.businesscentral.util.helper.DEFieldCacheMap;
import cn.ibizlab.businesscentral.core.odoo_base.client.res_usersFeignClient;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.ibizlab.businesscentral.core.odoo_base.mapper.Res_usersMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.alibaba.fastjson.JSONObject;
import org.springframework.util.StringUtils;
/**
* 实体[用户] 服务对象接口实现
*/
@Slf4j
@Service
public class Res_usersServiceImpl implements IRes_usersService {
@Service("Res_usersServiceImpl")
public class Res_usersServiceImpl extends ServiceImpl<Res_usersMapper, Res_users> implements IRes_usersService {
@Autowired
res_usersFeignClient res_usersFeignClient;
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_account_tagService accountAccountTagService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_account_templateService accountAccountTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_account_typeService accountAccountTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_accountService accountAccountService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_analytic_accountService accountAnalyticAccountService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_analytic_distributionService accountAnalyticDistributionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_analytic_groupService accountAnalyticGroupService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_analytic_lineService accountAnalyticLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_analytic_tagService accountAnalyticTagService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_bank_statement_cashboxService accountBankStatementCashboxService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_bank_statement_closebalanceService accountBankStatementClosebalanceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_bank_statement_import_journal_creationService accountBankStatementImportJournalCreationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_bank_statement_importService accountBankStatementImportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_bank_statement_lineService accountBankStatementLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_bank_statementService accountBankStatementService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_cashbox_lineService accountCashboxLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_cash_roundingService accountCashRoundingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_chart_templateService accountChartTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_common_journal_reportService accountCommonJournalReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_common_reportService accountCommonReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_financial_year_opService accountFinancialYearOpService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_position_account_templateService accountFiscalPositionAccountTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_position_accountService accountFiscalPositionAccountService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_position_tax_templateService accountFiscalPositionTaxTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_position_taxService accountFiscalPositionTaxService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_position_templateService accountFiscalPositionTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_positionService accountFiscalPositionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_fiscal_yearService accountFiscalYearService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_full_reconcileService accountFullReconcileService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_groupService accountGroupService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_incotermsService accountIncotermsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_confirmService accountInvoiceConfirmService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_import_wizardService accountInvoiceImportWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_lineService accountInvoiceLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_refundService accountInvoiceRefundService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_reportService accountInvoiceReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_sendService accountInvoiceSendService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoice_taxService accountInvoiceTaxService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_invoiceService accountInvoiceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_journalService accountJournalService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_move_lineService accountMoveLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_move_reversalService accountMoveReversalService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_moveService accountMoveService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_partial_reconcileService accountPartialReconcileService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_payment_methodService accountPaymentMethodService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_payment_term_lineService accountPaymentTermLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_payment_termService accountPaymentTermService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_paymentService accountPaymentService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_print_journalService accountPrintJournalService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_reconcile_model_templateService accountReconcileModelTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_reconcile_modelService accountReconcileModelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_register_paymentsService accountRegisterPaymentsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_setup_bank_manual_configService accountSetupBankManualConfigService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_tax_groupService accountTaxGroupService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_tax_templateService accountTaxTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_taxService accountTaxService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_account.service.IAccount_unreconcileService accountUnreconcileService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_asset.service.IAsset_assetService assetAssetService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_asset.service.IAsset_categoryService assetCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_asset.service.IAsset_stateService assetStateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_automation_lead_testService baseAutomationLeadTestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_automation_line_testService baseAutomationLineTestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_automationService baseAutomationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_importService baseImportImportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_mappingService baseImportMappingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_char_noreadonlyService baseImportTestsModelsCharNoreadonlyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_char_readonlyService baseImportTestsModelsCharReadonlyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_char_requiredService baseImportTestsModelsCharRequiredService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_char_statesService baseImportTestsModelsCharStatesService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_char_stillreadonlyService baseImportTestsModelsCharStillreadonlyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_charService baseImportTestsModelsCharService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_complexService baseImportTestsModelsComplexService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_floatService baseImportTestsModelsFloatService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_m2o_relatedService baseImportTestsModelsM2oRelatedService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_m2o_required_relatedService baseImportTestsModelsM2oRequiredRelatedService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_m2o_requiredService baseImportTestsModelsM2oRequiredService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_m2oService baseImportTestsModelsM2oService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_o2m_childService baseImportTestsModelsO2mChildService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_o2mService baseImportTestsModelsO2mService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base_import.service.IBase_import_tests_models_previewService baseImportTestsModelsPreviewService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_language_exportService baseLanguageExportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_language_importService baseLanguageImportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_language_installService baseLanguageInstallService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_module_uninstallService baseModuleUninstallService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_module_updateService baseModuleUpdateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_module_upgradeService baseModuleUpgradeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_partner_merge_automatic_wizardService basePartnerMergeAutomaticWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_partner_merge_lineService basePartnerMergeLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IBase_update_translationsService baseUpdateTranslationsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_bus.service.IBus_busService busBusService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_bus.service.IBus_presenceService busPresenceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_calendar.service.ICalendar_alarmService calendarAlarmService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_calendar.service.ICalendar_attendeeService calendarAttendeeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_calendar.service.ICalendar_contactsService calendarContactsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_calendar.service.ICalendar_event_typeService calendarEventTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_calendar.service.ICalendar_eventService calendarEventService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_activity_reportService crmActivityReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_lead2opportunity_partner_massService crmLead2opportunityPartnerMassService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_lead2opportunity_partnerService crmLead2opportunityPartnerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_lead_lostService crmLeadLostService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_lead_tagService crmLeadTagService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_leadService crmLeadService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_lost_reasonService crmLostReasonService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_merge_opportunityService crmMergeOpportunityService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_partner_bindingService crmPartnerBindingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_stageService crmStageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_crm.service.ICrm_teamService crmTeamService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_digest.service.IDigest_digestService digestDigestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_digest.service.IDigest_tipService digestTipService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_confirmService eventConfirmService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_event_ticketService eventEventTicketService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_eventService eventEventService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_mail_registrationService eventMailRegistrationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_mailService eventMailService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_registrationService eventRegistrationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_type_mailService eventTypeMailService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_event.service.IEvent_typeService eventTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fetchmail.service.IFetchmail_serverService fetchmailServerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_service_typeService fleetServiceTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_assignation_logService fleetVehicleAssignationLogService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_costService fleetVehicleCostService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_log_contractService fleetVehicleLogContractService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_log_fuelService fleetVehicleLogFuelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_log_servicesService fleetVehicleLogServicesService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_model_brandService fleetVehicleModelBrandService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_modelService fleetVehicleModelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_odometerService fleetVehicleOdometerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_stateService fleetVehicleStateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicle_tagService fleetVehicleTagService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_fleet.service.IFleet_vehicleService fleetVehicleService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_badge_user_wizardService gamificationBadgeUserWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_badge_userService gamificationBadgeUserService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_badgeService gamificationBadgeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_challenge_lineService gamificationChallengeLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_challengeService gamificationChallengeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_goal_definitionService gamificationGoalDefinitionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_goal_wizardService gamificationGoalWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_gamification.service.IGamification_goalService gamificationGoalService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_applicant_categoryService hrApplicantCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_applicantService hrApplicantService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_attendanceService hrAttendanceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_contract_typeService hrContractTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_contractService hrContractService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_departmentService hrDepartmentService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employee_categoryService hrEmployeeCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_employeeService hrEmployeeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_expense_refuse_wizardService hrExpenseRefuseWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_expense_sheet_register_payment_wizardService hrExpenseSheetRegisterPaymentWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_expense_sheetService hrExpenseSheetService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_expenseService hrExpenseService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_holidays_summary_deptService hrHolidaysSummaryDeptService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_holidays_summary_employeeService hrHolidaysSummaryEmployeeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_jobService hrJobService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_leave_allocationService hrLeaveAllocationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_leave_typeService hrLeaveTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_leaveService hrLeaveService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_recruitment_degreeService hrRecruitmentDegreeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_recruitment_sourceService hrRecruitmentSourceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_hr.service.IHr_recruitment_stageService hrRecruitmentStageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_iap.service.IIap_accountService iapAccountService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_im_livechat.service.IIm_livechat_channel_ruleService imLivechatChannelRuleService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_im_livechat.service.IIm_livechat_channelService imLivechatChannelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_alertService lunchAlertService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_cashmoveService lunchCashmoveService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_order_line_luckyService lunchOrderLineLuckyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_order_lineService lunchOrderLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_orderService lunchOrderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_product_categoryService lunchProductCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_lunch.service.ILunch_productService lunchProductService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_activity_typeService mailActivityTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_activityService mailActivityService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_aliasService mailAliasService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_blacklistService mailBlacklistService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_channel_partnerService mailChannelPartnerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_channelService mailChannelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_compose_messageService mailComposeMessageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mail_statisticsService mailMailStatisticsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mailService mailMailService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_campaignService mailMassMailingCampaignService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_contactService mailMassMailingContactService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_list_contact_relService mailMassMailingListContactRelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_listService mailMassMailingListService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_stageService mailMassMailingStageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_tagService mailMassMailingTagService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailing_testService mailMassMailingTestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_mass_mailingService mailMassMailingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_message_subtypeService mailMessageSubtypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_messageService mailMessageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_moderationService mailModerationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_resend_cancelService mailResendCancelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_resend_messageService mailResendMessageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_resend_partnerService mailResendPartnerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_shortcodeService mailShortcodeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_templateService mailTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_tracking_valueService mailTrackingValueService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mail.service.IMail_wizard_inviteService mailWizardInviteService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_maintenance.service.IMaintenance_equipment_categoryService maintenanceEquipmentCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_maintenance.service.IMaintenance_equipmentService maintenanceEquipmentService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_maintenance.service.IMaintenance_requestService maintenanceRequestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_maintenance.service.IMaintenance_stageService maintenanceStageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_maintenance.service.IMaintenance_teamService maintenanceTeamService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_convert_orderService mroConvertOrderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_order_parts_lineService mroOrderPartsLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_orderService mroOrderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_meter_intervalService mroPmMeterIntervalService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_meter_lineService mroPmMeterLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_meter_ratioService mroPmMeterRatioService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_meterService mroPmMeterService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_parameterService mroPmParameterService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_replanService mroPmReplanService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_rule_lineService mroPmRuleLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_pm_ruleService mroPmRuleService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_request_rejectService mroRequestRejectService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_requestService mroRequestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_task_parts_lineService mroTaskPartsLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_taskService mroTaskService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mro.service.IMro_workorderService mroWorkorderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_bom_lineService mrpBomLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_bomService mrpBomService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_documentService mrpDocumentService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_productionService mrpProductionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_product_produce_lineService mrpProductProduceLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_product_produceService mrpProductProduceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_routing_workcenterService mrpRoutingWorkcenterService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_routingService mrpRoutingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_unbuildService mrpUnbuildService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_workcenter_productivity_loss_typeService mrpWorkcenterProductivityLossTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_workcenter_productivity_lossService mrpWorkcenterProductivityLossService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_workcenter_productivityService mrpWorkcenterProductivityService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_workcenterService mrpWorkcenterService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_mrp.service.IMrp_workorderService mrpWorkorderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_note.service.INote_noteService noteNoteService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_note.service.INote_stageService noteStageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_note.service.INote_tagService noteTagService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_payment.service.IPayment_acquirer_onboarding_wizardService paymentAcquirerOnboardingWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_payment.service.IPayment_acquirerService paymentAcquirerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_payment.service.IPayment_iconService paymentIconService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_payment.service.IPayment_tokenService paymentTokenService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_payment.service.IPayment_transactionService paymentTransactionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_portal.service.IPortal_shareService portalShareService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_portal.service.IPortal_wizard_userService portalWizardUserService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_portal.service.IPortal_wizardService portalWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_attribute_custom_valueService productAttributeCustomValueService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_attribute_valueService productAttributeValueService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_attributeService productAttributeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_categoryService productCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_imageService productImageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_packagingService productPackagingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_pricelist_itemService productPricelistItemService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_pricelistService productPricelistService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_price_historyService productPriceHistoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_price_listService productPriceListService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_productService productProductService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_public_categoryService productPublicCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_putawayService productPutawayService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_removalService productRemovalService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_replenishService productReplenishService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_styleService productStyleService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_supplierinfoService productSupplierinfoService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_template_attribute_exclusionService productTemplateAttributeExclusionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_template_attribute_lineService productTemplateAttributeLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_template_attribute_valueService productTemplateAttributeValueService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_product.service.IProduct_templateService productTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_project.service.IProject_projectService projectProjectService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_project.service.IProject_tagsService projectTagsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_project.service.IProject_task_typeService projectTaskTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_project.service.IProject_taskService projectTaskService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_purchase.service.IPurchase_order_lineService purchaseOrderLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_purchase.service.IPurchase_orderService purchaseOrderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_purchase.service.IPurchase_reportService purchaseReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_rating.service.IRating_ratingService ratingRatingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_repair.service.IRepair_cancelService repairCancelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_repair.service.IRepair_feeService repairFeeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_repair.service.IRepair_lineService repairLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_repair.service.IRepair_order_make_invoiceService repairOrderMakeInvoiceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_repair.service.IRepair_orderService repairOrderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_resource.service.IResource_calendar_attendanceService resourceCalendarAttendanceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_resource.service.IResource_calendar_leavesService resourceCalendarLeavesService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_resource.service.IResource_calendarService resourceCalendarService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_resource.service.IResource_resourceService resourceResourceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_resource.service.IResource_testService resourceTestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_bankService resBankService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_companyService resCompanyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_config_installerService resConfigInstallerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_config_settingsService resConfigSettingsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_configService resConfigService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_country_groupService resCountryGroupService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_country_stateService resCountryStateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_countryService resCountryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_currency_rateService resCurrencyRateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_currencyService resCurrencyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_groupsService resGroupsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_langService resLangService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partner_autocomplete_syncService resPartnerAutocompleteSyncService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partner_bankService resPartnerBankService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partner_categoryService resPartnerCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partner_industryService resPartnerIndustryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partner_titleService resPartnerTitleService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_partnerService resPartnerService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_users_logService resUsersLogService;
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService = this;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_advance_payment_invService saleAdvancePaymentInvService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_order_lineService saleOrderLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_order_optionService saleOrderOptionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_order_template_lineService saleOrderTemplateLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_order_template_optionService saleOrderTemplateOptionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_order_templateService saleOrderTemplateService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_orderService saleOrderService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_payment_acquirer_onboarding_wizardService salePaymentAcquirerOnboardingWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_product_configuratorService saleProductConfiguratorService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sale.service.ISale_reportService saleReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_sms.service.ISms_send_smsService smsSendSmsService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_snailmail.service.ISnailmail_letterService snailmailLetterService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_backorder_confirmationService stockBackorderConfirmationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_change_product_qtyService stockChangeProductQtyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_change_standard_priceService stockChangeStandardPriceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_fixed_putaway_stratService stockFixedPutawayStratService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_immediate_transferService stockImmediateTransferService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_inventory_lineService stockInventoryLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_inventoryService stockInventoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_location_routeService stockLocationRouteService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_locationService stockLocationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_move_lineService stockMoveLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_moveService stockMoveService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_overprocessed_transferService stockOverprocessedTransferService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_package_destinationService stockPackageDestinationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_package_levelService stockPackageLevelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_picking_typeService stockPickingTypeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_pickingService stockPickingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_production_lotService stockProductionLotService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_quantity_historyService stockQuantityHistoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_quant_packageService stockQuantPackageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_quantService stockQuantService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_return_picking_lineService stockReturnPickingLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_return_pickingService stockReturnPickingService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_rules_reportService stockRulesReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_ruleService stockRuleService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_scheduler_computeService stockSchedulerComputeService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_scrapService stockScrapService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_traceability_reportService stockTraceabilityReportService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_track_confirmationService stockTrackConfirmationService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_track_lineService stockTrackLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_warehouse_orderpointService stockWarehouseOrderpointService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_warehouseService stockWarehouseService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_warn_insufficient_qty_repairService stockWarnInsufficientQtyRepairService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_warn_insufficient_qty_scrapService stockWarnInsufficientQtyScrapService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_stock.service.IStock_warn_insufficient_qty_unbuildService stockWarnInsufficientQtyUnbuildService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_labelService surveyLabelService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_mail_compose_messageService surveyMailComposeMessageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_pageService surveyPageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_questionService surveyQuestionService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_stageService surveyStageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_surveyService surveySurveyService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_user_input_lineService surveyUserInputLineService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_survey.service.ISurvey_user_inputService surveyUserInputService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_uom.service.IUom_categoryService uomCategoryService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_uom.service.IUom_uomService uomUomService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_utm.service.IUtm_campaignService utmCampaignService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_utm.service.IUtm_mediumService utmMediumService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_utm.service.IUtm_sourceService utmSourceService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_website.service.IWebsite_menuService websiteMenuService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_website.service.IWebsite_pageService websitePageService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_website.service.IWebsite_redirectService websiteRedirectService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_website.service.IWebsite_sale_payment_acquirer_onboarding_wizardService websiteSalePaymentAcquirerOnboardingWizardService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_web_editor.service.IWeb_editor_converter_test_subService webEditorConverterTestSubService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_web_editor.service.IWeb_editor_converter_testService webEditorConverterTestService;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_web_tour.service.IWeb_tour_tourService webTourTourService;
protected int batchSize = 500;
@Override
@Transactional
public boolean create(Res_users et) {
Res_users rt = res_usersFeignClient.create(et);
if(rt==null)
fillParentData(et);
if(!this.retBool(this.baseMapper.insert(et)))
return false;
CachedBeanCopier.copy(rt,et);
CachedBeanCopier.copy(get(et.getId()),et);
return true;
}
public void createBatch(List<Res_users> list){
res_usersFeignClient.createBatch(list) ;
@Override
@Transactional
public void createBatch(List<Res_users> list) {
list.forEach(item->fillParentData(item));
this.saveBatch(list,batchSize);
}
@Override
@Transactional
public boolean update(Res_users et) {
Res_users rt = res_usersFeignClient.update(et.getId(),et);
if(rt==null)
fillParentData(et);
if(!update(et,(Wrapper) et.getUpdateWrapper(true).eq("id",et.getId())))
return false;
CachedBeanCopier.copy(rt,et);
CachedBeanCopier.copy(get(et.getId()),et);
return true;
}
public void updateBatch(List<Res_users> list){
res_usersFeignClient.updateBatch(list) ;
@Override
@Transactional
public void updateBatch(List<Res_users> list) {
list.forEach(item->fillParentData(item));
updateBatchById(list,batchSize);
}
@Override
public boolean remove(Long id) {
boolean result=res_usersFeignClient.remove(id) ;
return result;
@Transactional
public boolean remove(Long key) {
boolean result=removeById(key);
return result ;
}
public void removeBatch(Collection<Long> idList){
res_usersFeignClient.removeBatch(idList);
@Override
@Transactional
public void removeBatch(Collection<Long> idList) {
removeByIds(idList);
}
@Override
public Res_users get(Long id) {
Res_users et=res_usersFeignClient.get(id);
@Transactional
public Res_users get(Long key) {
Res_users et = getById(key);
if(et==null){
et=new Res_users();
et.setId(id);
et.setId(key);
}
else{
}
return et;
return et;
}
/**
* 查询集合 默认查询
*/
@Override
public Page<Res_users> searchDefault(Res_usersSearchContext context) {
Page<Res_users> res_userss=res_usersFeignClient.search(context);
return res_userss;
com.baomidou.mybatisplus.extension.plugins.pagination.Page<Res_users> pages=baseMapper.searchDefault(context.getPages(),context,context.getSelectCond());
return new PageImpl<Res_users>(pages.getRecords(), context.getPageable(), pages.getTotal());
}
/**
* 为当前实体填充父数据(外键值文本、外键值附加数据)
* @param et
*/
private void fillParentData(Res_users et){
//实体关系[DER1N_RES_USERS__CRM_TEAM__SALE_TEAM_ID]
if(!ObjectUtils.isEmpty(et.getSaleTeamId())){
cn.ibizlab.businesscentral.core.odoo_crm.domain.Crm_team odooSaleTeam=et.getOdooSaleTeam();
if(ObjectUtils.isEmpty(odooSaleTeam)){
cn.ibizlab.businesscentral.core.odoo_crm.domain.Crm_team majorEntity=crmTeamService.get(et.getSaleTeamId());
et.setOdooSaleTeam(majorEntity);
odooSaleTeam=majorEntity;
}
et.setSaleTeamIdText(odooSaleTeam.getName());
}
//实体关系[DER1N_RES_USERS__MAIL_ALIAS__ALIAS_ID]
if(!ObjectUtils.isEmpty(et.getAliasId())){
cn.ibizlab.businesscentral.core.odoo_mail.domain.Mail_alias odooAlias=et.getOdooAlias();
if(ObjectUtils.isEmpty(odooAlias)){
cn.ibizlab.businesscentral.core.odoo_mail.domain.Mail_alias majorEntity=mailAliasService.get(et.getAliasId());
et.setOdooAlias(majorEntity);
odooAlias=majorEntity;
}
et.setAliasContact(odooAlias.getAliasContact());
}
//实体关系[DER1N_RES_USERS__RES_COMPANY__COMPANY_ID]
if(!ObjectUtils.isEmpty(et.getCompanyId())){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_company odooCompany=et.getOdooCompany();
if(ObjectUtils.isEmpty(odooCompany)){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_company majorEntity=resCompanyService.get(et.getCompanyId());
et.setOdooCompany(majorEntity);
odooCompany=majorEntity;
}
et.setCompanyIdText(odooCompany.getName());
}
//实体关系[DER1N_RES_USERS__RES_PARTNER__PARTNER_ID]
if(!ObjectUtils.isEmpty(et.getPartnerId())){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_partner odooPartner=et.getOdooPartner();
if(ObjectUtils.isEmpty(odooPartner)){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_partner majorEntity=resPartnerService.get(et.getPartnerId());
et.setOdooPartner(majorEntity);
odooPartner=majorEntity;
}
et.setRef(odooPartner.getRef());
et.setMessageHasErrorCounter(odooPartner.getMessageHasErrorCounter());
et.setLastWebsiteSoId(odooPartner.getLastWebsiteSoId());
et.setDate(odooPartner.getDate());
et.setMessageIsFollower(odooPartner.getMessageIsFollower());
et.setPropertyStockCustomer(odooPartner.getPropertyStockCustomer());
et.setLastTimeEntriesChecked(odooPartner.getLastTimeEntriesChecked());
et.setLang(odooPartner.getLang());
et.setSaleWarn(odooPartner.getSaleWarn());
et.setMeetingCount(odooPartner.getMeetingCount());
et.setStreet(odooPartner.getStreet());
et.setInvoiceWarn(odooPartner.getInvoiceWarn());
et.setSignupToken(odooPartner.getSignupToken());
et.setTaskCount(odooPartner.getTaskCount());
et.setSignupValid(odooPartner.getSignupValid());
et.setMessageUnreadCounter(odooPartner.getMessageUnreadCounter());
et.setSignupType(odooPartner.getSignupType());
et.setPropertyAccountReceivableId(odooPartner.getPropertyAccountReceivableId());
et.setWebsiteMetaOgImg(odooPartner.getWebsiteMetaOgImg());
et.setEventCount(odooPartner.getEventCount());
et.setJournalItemCount(odooPartner.getJournalItemCount());
et.setParentName(odooPartner.getParentName());
et.setCredit(odooPartner.getCredit());
et.setOpportunityCount(odooPartner.getOpportunityCount());
et.setSignupUrl(odooPartner.getSignupUrl());
et.setPropertyAccountPayableId(odooPartner.getPropertyAccountPayableId());
et.setStateId(odooPartner.getStateId());
et.setMessageHasError(odooPartner.getMessageHasError());
et.setSaleWarnMsg(odooPartner.getSaleWarnMsg());
et.setWebsitePublished(odooPartner.getWebsitePublished());
et.setTotalInvoiced(odooPartner.getTotalInvoiced());
et.setDebit(odooPartner.getDebit());
et.setPosOrderCount(odooPartner.getPosOrderCount());
et.setTitle(odooPartner.getTitle());
et.setMessageUnread(odooPartner.getMessageUnread());
et.setSupplierInvoiceCount(odooPartner.getSupplierInvoiceCount());
et.setCity(odooPartner.getCity());
et.setPickingWarn(odooPartner.getPickingWarn());
et.setMessageMainAttachmentId(odooPartner.getMessageMainAttachmentId());
et.setActivityUserId(odooPartner.getActivityUserId());
et.setAdditionalInfo(odooPartner.getAdditionalInfo());
et.setIbizfunction(odooPartner.getIbizfunction());
et.setWebsiteUrl(odooPartner.getWebsiteUrl());
et.setCalendarLastNotifAck(odooPartner.getCalendarLastNotifAck());
et.setMessageNeedactionCounter(odooPartner.getMessageNeedactionCounter());
et.setActivityDateDeadline(odooPartner.getActivityDateDeadline());
et.setEmployee(odooPartner.getEmployee());
et.setActivityState(odooPartner.getActivityState());
et.setBarcode(odooPartner.getBarcode());
et.setPartnerGid(odooPartner.getPartnerGid());
et.setType(odooPartner.getType());
et.setVat(odooPartner.getVat());
et.setPurchaseWarnMsg(odooPartner.getPurchaseWarnMsg());
et.setComment(odooPartner.getComment());
et.setSupplier(odooPartner.getSupplier());
et.setWebsiteMetaKeywords(odooPartner.getWebsiteMetaKeywords());
et.setParentId(odooPartner.getParentId());
et.setPurchaseWarn(odooPartner.getPurchaseWarn());
et.setActivePartner(odooPartner.getActive());
et.setCurrencyId(odooPartner.getCurrencyId());
et.setIndustryId(odooPartner.getIndustryId());
et.setPropertyStockSupplier(odooPartner.getPropertyStockSupplier());
et.setPaymentTokenCount(odooPartner.getPaymentTokenCount());
et.setMessageNeedaction(odooPartner.getMessageNeedaction());
et.setUserId(odooPartner.getUserId());
et.setCustomer(odooPartner.getCustomer());
et.setPropertyPaymentTermId(odooPartner.getPropertyPaymentTermId());
et.setActivityTypeId(odooPartner.getActivityTypeId());
et.setContractsCount(odooPartner.getContractsCount());
et.setSelf(odooPartner.getSelf());
et.setWebsiteMetaDescription(odooPartner.getWebsiteMetaDescription());
et.setImage(odooPartner.getImage());
et.setEmail(odooPartner.getEmail());
et.setImageMedium(odooPartner.getImageMedium());
et.setActivitySummary(odooPartner.getActivitySummary());
et.setDebitLimit(odooPartner.getDebitLimit());
et.setCountryId(odooPartner.getCountryId());
et.setCreditLimit(odooPartner.getCreditLimit());
et.setCommercialCompanyName(odooPartner.getCommercialCompanyName());
et.setInvoiceWarnMsg(odooPartner.getInvoiceWarnMsg());
et.setIsPublished(odooPartner.getIsPublished());
et.setTrust(odooPartner.getTrust());
et.setMobile(odooPartner.getMobile());
et.setEmailFormatted(odooPartner.getEmailFormatted());
et.setIsCompany(odooPartner.getIsCompany());
et.setTeamId(odooPartner.getTeamId());
et.setIsBlacklisted(odooPartner.getIsBlacklisted());
et.setBankAccountCount(odooPartner.getBankAccountCount());
et.setPropertyProductPricelist(odooPartner.getPropertyProductPricelist());
et.setName(odooPartner.getName());
et.setPickingWarnMsg(odooPartner.getPickingWarnMsg());
et.setMessageAttachmentCount(odooPartner.getMessageAttachmentCount());
et.setWebsite(odooPartner.getWebsite());
et.setPhone(odooPartner.getPhone());
et.setStreet2(odooPartner.getStreet2());
et.setHasUnreconciledEntries(odooPartner.getHasUnreconciledEntries());
et.setSignupExpiration(odooPartner.getSignupExpiration());
et.setTz(odooPartner.getTz());
et.setContactAddress(odooPartner.getContactAddress());
et.setWebsiteShortDescription(odooPartner.getWebsiteShortDescription());
et.setPartnerShare(odooPartner.getPartnerShare());
et.setColor(odooPartner.getColor());
et.setZip(odooPartner.getZip());
et.setSaleOrderCount(odooPartner.getSaleOrderCount());
et.setCompanyType(odooPartner.getCompanyType());
et.setPropertyAccountPositionId(odooPartner.getPropertyAccountPositionId());
et.setIsSeoOptimized(odooPartner.getIsSeoOptimized());
et.setMessageBounce(odooPartner.getMessageBounce());
et.setWebsiteMetaTitle(odooPartner.getWebsiteMetaTitle());
et.setImageSmall(odooPartner.getImageSmall());
et.setPropertyPurchaseCurrencyId(odooPartner.getPropertyPurchaseCurrencyId());
et.setPurchaseOrderCount(odooPartner.getPurchaseOrderCount());
et.setWebsiteDescription(odooPartner.getWebsiteDescription());
et.setPropertySupplierPaymentTermId(odooPartner.getPropertySupplierPaymentTermId());
et.setCommercialPartnerId(odooPartner.getCommercialPartnerId());
et.setCompanyName(odooPartner.getCompanyName());
}
//实体关系[DER1N_RES_USERS__RES_USERS__CREATE_UID]
if(!ObjectUtils.isEmpty(et.getCreateUid())){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooCreate=et.getOdooCreate();
if(ObjectUtils.isEmpty(odooCreate)){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users majorEntity=resUsersService.get(et.getCreateUid());
et.setOdooCreate(majorEntity);
odooCreate=majorEntity;
}
et.setCreateUidText(odooCreate.getName());
}
//实体关系[DER1N_RES_USERS__RES_USERS__WRITE_UID]
if(!ObjectUtils.isEmpty(et.getWriteUid())){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users odooWrite=et.getOdooWrite();
if(ObjectUtils.isEmpty(odooWrite)){
cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users majorEntity=resUsersService.get(et.getWriteUid());
et.setOdooWrite(majorEntity);
odooWrite=majorEntity;
}
et.setWriteUidText(odooWrite.getName());
}
}
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
@Override
public List<Res_users> getResUsersByIds(List<String> ids) {
return this.listByIds(ids);
}
@Override
public List<Res_users> getResUsersByEntities(List<Res_users> entities) {
List ids =new ArrayList();
for(Res_users entity : entities){
Serializable id=entity.getId();
if(!ObjectUtils.isEmpty(id)){
ids.add(id);
}
}
if(ids.size()>0)
return this.listByIds(ids);
else
return entities;
}
......
......@@ -45,6 +45,9 @@ public class Crm_teamServiceImpl implements ICrm_teamService {
@Autowired
crm_teamFeignClient crm_teamFeignClient;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService;
@Override
public boolean create(Crm_team et) {
......
......@@ -45,6 +45,9 @@ public class Mail_aliasServiceImpl implements IMail_aliasService {
@Autowired
mail_aliasFeignClient mail_aliasFeignClient;
@Autowired
@Lazy
protected cn.ibizlab.businesscentral.core.odoo_base.service.IRes_usersService resUsersService;
@Override
public boolean create(Mail_alias et) {
......
......@@ -629,6 +629,7 @@
<!--输出实体[RES_USERS]数据结构 -->
......@@ -790,5 +791,6 @@
<!--输出实体[RES_USERS]外键关系 -->
</databaseChangeLog>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cn.ibizlab.businesscentral.core.odoo_base.mapper.Res_usersMapper">
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<resultMap id="Res_usersResultMap" type="cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users" autoMapping="true">
<id property="id" column="id" /><!--主键字段映射-->
<result property="isModerator" column="is_moderator" />
<result property="resourceIds" column="resource_ids" />
<result property="createDate" column="create_date" />
<result property="categoryId" column="category_id" />
<result property="resourceCalendarId" column="resource_calendar_id" />
<result property="logIds" column="log_ids" />
<result property="messageIds" column="message_ids" />
<result property="posSecurityPin" column="pos_security_pin" />
<result property="badgeIds" column="badge_ids" />
<result property="writeDate" column="write_date" />
<result property="companyIds" column="company_ids" />
<result property="childIds" column="child_ids" />
<result property="tzOffset" column="tz_offset" />
<result property="targetSalesDone" column="target_sales_done" />
<result property="messagePartnerIds" column="message_partner_ids" />
<result property="notificationType" column="notification_type" />
<result property="imStatus" column="im_status" />
<result property="websiteId" column="website_id" />
<result property="activityIds" column="activity_ids" />
<result property="goldBadge" column="gold_badge" />
<result property="employeeIds" column="employee_ids" />
<result property="moderationChannelIds" column="moderation_channel_ids" />
<result property="messageChannelIds" column="message_channel_ids" />
<result property="silverBadge" column="silver_badge" />
<result property="paymentTokenIds" column="payment_token_ids" />
<result property="displayName" column="display_name" />
<result property="companiesCount" column="companies_count" />
<result property="targetSalesInvoiced" column="target_sales_invoiced" />
<result property="messageFollowerIds" column="message_follower_ids" />
<result property="loginDate" column="login_date" />
<result property="channelIds" column="channel_ids" />
<result property="groupsId" column="groups_id" />
<result property="bankIds" column="bank_ids" />
<result property="saleOrderIds" column="sale_order_ids" />
<result property="newPassword" column="new_password" />
<result property="odoobotState" column="odoobot_state" />
<result property="refCompanyIds" column="ref_company_ids" />
<result property="bronzeBadge" column="bronze_badge" />
<result property="meetingIds" column="meeting_ids" />
<result property="LastUpdate" column="__last_update" />
<result property="forumWaitingPostsCount" column="forum_waiting_posts_count" />
<result property="goalIds" column="goal_ids" />
<result property="targetSalesWon" column="target_sales_won" />
<result property="websiteMessageIds" column="website_message_ids" />
<result property="actionId" column="action_id" />
<result property="contractIds" column="contract_ids" />
<result property="moderationCounter" column="moderation_counter" />
<result property="userIds" column="user_ids" />
<result property="opportunityIds" column="opportunity_ids" />
<result property="taskIds" column="task_ids" />
<result property="invoiceIds" column="invoice_ids" />
<result property="messageHasErrorCounter" column="message_has_error_counter" />
<result property="lastWebsiteSoId" column="last_website_so_id" />
<result property="messageIsFollower" column="message_is_follower" />
<result property="propertyStockCustomer" column="property_stock_customer" />
<result property="lastTimeEntriesChecked" column="last_time_entries_checked" />
<result property="saleWarn" column="sale_warn" />
<result property="meetingCount" column="meeting_count" />
<result property="invoiceWarn" column="invoice_warn" />
<result property="signupToken" column="signup_token" />
<result property="taskCount" column="task_count" />
<result property="signupValid" column="signup_valid" />
<result property="messageUnreadCounter" column="message_unread_counter" />
<result property="signupType" column="signup_type" />
<result property="propertyAccountReceivableId" column="property_account_receivable_id" />
<result property="websiteMetaOgImg" column="website_meta_og_img" />
<result property="eventCount" column="event_count" />
<result property="journalItemCount" column="journal_item_count" />
<result property="parentName" column="parent_name" />
<result property="saleTeamIdText" column="sale_team_id_text" />
<result property="opportunityCount" column="opportunity_count" />
<result property="signupUrl" column="signup_url" />
<result property="propertyAccountPayableId" column="property_account_payable_id" />
<result property="stateId" column="state_id" />
<result property="messageHasError" column="message_has_error" />
<result property="saleWarnMsg" column="sale_warn_msg" />
<result property="websitePublished" column="website_published" />
<result property="totalInvoiced" column="total_invoiced" />
<result property="posOrderCount" column="pos_order_count" />
<result property="writeUidText" column="write_uid_text" />
<result property="messageUnread" column="message_unread" />
<result property="supplierInvoiceCount" column="supplier_invoice_count" />
<result property="pickingWarn" column="picking_warn" />
<result property="messageMainAttachmentId" column="message_main_attachment_id" />
<result property="activityUserId" column="activity_user_id" />
<result property="additionalInfo" column="additional_info" />
<result property="websiteUrl" column="website_url" />
<result property="calendarLastNotifAck" column="calendar_last_notif_ack" />
<result property="messageNeedactionCounter" column="message_needaction_counter" />
<result property="activityDateDeadline" column="activity_date_deadline" />
<result property="activityState" column="activity_state" />
<result property="partnerGid" column="partner_gid" />
<result property="purchaseWarnMsg" column="purchase_warn_msg" />
<result property="websiteMetaKeywords" column="website_meta_keywords" />
<result property="parentId" column="parent_id" />
<result property="purchaseWarn" column="purchase_warn" />
<result property="activePartner" column="active_partner" />
<result property="currencyId" column="currency_id" />
<result property="industryId" column="industry_id" />
<result property="propertyStockSupplier" column="property_stock_supplier" />
<result property="paymentTokenCount" column="payment_token_count" />
<result property="messageNeedaction" column="message_needaction" />
<result property="userId" column="user_id" />
<result property="propertyPaymentTermId" column="property_payment_term_id" />
<result property="activityTypeId" column="activity_type_id" />
<result property="contractsCount" column="contracts_count" />
<result property="websiteMetaDescription" column="website_meta_description" />
<result property="imageMedium" column="image_medium" />
<result property="activitySummary" column="activity_summary" />
<result property="debitLimit" column="debit_limit" />
<result property="countryId" column="country_id" />
<result property="creditLimit" column="credit_limit" />
<result property="commercialCompanyName" column="commercial_company_name" />
<result property="invoiceWarnMsg" column="invoice_warn_msg" />
<result property="isPublished" column="is_published" />
<result property="emailFormatted" column="email_formatted" />
<result property="isCompany" column="is_company" />
<result property="createUidText" column="create_uid_text" />
<result property="teamId" column="team_id" />
<result property="isBlacklisted" column="is_blacklisted" />
<result property="bankAccountCount" column="bank_account_count" />
<result property="propertyProductPricelist" column="property_product_pricelist" />
<result property="pickingWarnMsg" column="picking_warn_msg" />
<result property="messageAttachmentCount" column="message_attachment_count" />
<result property="hasUnreconciledEntries" column="has_unreconciled_entries" />
<result property="signupExpiration" column="signup_expiration" />
<result property="contactAddress" column="contact_address" />
<result property="websiteShortDescription" column="website_short_description" />
<result property="partnerShare" column="partner_share" />
<result property="companyIdText" column="company_id_text" />
<result property="saleOrderCount" column="sale_order_count" />
<result property="companyType" column="company_type" />
<result property="propertyAccountPositionId" column="property_account_position_id" />
<result property="isSeoOptimized" column="is_seo_optimized" />
<result property="messageBounce" column="message_bounce" />
<result property="websiteMetaTitle" column="website_meta_title" />
<result property="imageSmall" column="image_small" />
<result property="propertyPurchaseCurrencyId" column="property_purchase_currency_id" />
<result property="purchaseOrderCount" column="purchase_order_count" />
<result property="websiteDescription" column="website_description" />
<result property="propertySupplierPaymentTermId" column="property_supplier_payment_term_id" />
<result property="commercialPartnerId" column="commercial_partner_id" />
<result property="aliasContact" column="alias_contact" />
<result property="companyName" column="company_name" />
<result property="companyId" column="company_id" />
<result property="partnerId" column="partner_id" />
<result property="aliasId" column="alias_id" />
<result property="saleTeamId" column="sale_team_id" />
<result property="writeUid" column="write_uid" />
<result property="createUid" column="create_uid" />
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="odooCreate" javaType="cn.ibizlab.businesscentral.core.odoo_base.domain.Res_users" column="create_uid" select="cn.ibizlab.businesscentral.core.odoo_base.mapper.Res_usersMapper.selectById" fetchType="lazy"></association>
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<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_RES_USERS__CRM_TEAM__SALE_TEAM_ID] -->
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_USERS__MAIL_ALIAS__ALIAS_ID] -->
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_USERS__RES_COMPANY__COMPANY_ID] -->
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_USERS__RES_PARTNER__PARTNER_ID] -->
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_USERS__RES_USERS__CREATE_UID] -->
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_RES_USERS__RES_USERS__WRITE_UID] -->
</mapper>
......@@ -47,6 +47,7 @@ public class Res_usersResource {
@Lazy
public Res_usersMapping res_usersMapping;
@PreAuthorize("hasPermission(this.res_usersMapping.toDomain(#res_usersdto),'iBizBusinessCentral-Res_users-Create')")
@ApiOperation(value = "新建用户", tags = {"用户" }, notes = "新建用户")
@RequestMapping(method = RequestMethod.POST, value = "/res_users")
public ResponseEntity<Res_usersDTO> create(@Validated @RequestBody Res_usersDTO res_usersdto) {
......@@ -56,6 +57,7 @@ public class Res_usersResource {
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
@PreAuthorize("hasPermission(this.res_usersMapping.toDomain(#res_usersdtos),'iBizBusinessCentral-Res_users-Create')")
@ApiOperation(value = "批量新建用户", tags = {"用户" }, notes = "批量新建用户")
@RequestMapping(method = RequestMethod.POST, value = "/res_users/batch")
public ResponseEntity<Boolean> createBatch(@RequestBody List<Res_usersDTO> res_usersdtos) {
......@@ -64,6 +66,7 @@ public class Res_usersResource {
}
@VersionCheck(entity = "res_users" , versionfield = "writeDate")
@PreAuthorize("hasPermission(this.res_usersService.get(#res_users_id),'iBizBusinessCentral-Res_users-Update')")
@ApiOperation(value = "更新用户", tags = {"用户" }, notes = "更新用户")
@RequestMapping(method = RequestMethod.PUT, value = "/res_users/{res_users_id}")
public ResponseEntity<Res_usersDTO> update(@PathVariable("res_users_id") Long res_users_id, @RequestBody Res_usersDTO res_usersdto) {
......@@ -74,6 +77,7 @@ public class Res_usersResource {
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
@PreAuthorize("hasPermission(this.res_usersService.getResUsersByEntities(this.res_usersMapping.toDomain(#res_usersdtos)),'iBizBusinessCentral-Res_users-Update')")
@ApiOperation(value = "批量更新用户", tags = {"用户" }, notes = "批量更新用户")
@RequestMapping(method = RequestMethod.PUT, value = "/res_users/batch")
public ResponseEntity<Boolean> updateBatch(@RequestBody List<Res_usersDTO> res_usersdtos) {
......@@ -81,12 +85,14 @@ public class Res_usersResource {
return ResponseEntity.status(HttpStatus.OK).body(true);
}
@PreAuthorize("hasPermission(this.res_usersService.get(#res_users_id),'iBizBusinessCentral-Res_users-Remove')")
@ApiOperation(value = "删除用户", tags = {"用户" }, notes = "删除用户")
@RequestMapping(method = RequestMethod.DELETE, value = "/res_users/{res_users_id}")
public ResponseEntity<Boolean> remove(@PathVariable("res_users_id") Long res_users_id) {
return ResponseEntity.status(HttpStatus.OK).body(res_usersService.remove(res_users_id));
}
@PreAuthorize("hasPermission(this.res_usersService.getResUsersByIds(#ids),'iBizBusinessCentral-Res_users-Remove')")
@ApiOperation(value = "批量删除用户", tags = {"用户" }, notes = "批量删除用户")
@RequestMapping(method = RequestMethod.DELETE, value = "/res_users/batch")
public ResponseEntity<Boolean> removeBatch(@RequestBody List<Long> ids) {
......@@ -94,6 +100,7 @@ public class Res_usersResource {
return ResponseEntity.status(HttpStatus.OK).body(true);
}
@PostAuthorize("hasPermission(this.res_usersMapping.toDomain(returnObject.body),'iBizBusinessCentral-Res_users-Get')")
@ApiOperation(value = "获取用户", tags = {"用户" }, notes = "获取用户")
@RequestMapping(method = RequestMethod.GET, value = "/res_users/{res_users_id}")
public ResponseEntity<Res_usersDTO> get(@PathVariable("res_users_id") Long res_users_id) {
......@@ -102,6 +109,7 @@ public class Res_usersResource {
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','iBizBusinessCentral-Res_users-searchDefault-all') and hasPermission(#context,'iBizBusinessCentral-Res_users-Get')")
@ApiOperation(value = "获取默认查询", tags = {"用户" } ,notes = "获取默认查询")
@RequestMapping(method= RequestMethod.GET , value="/res_users/fetchdefault")
public ResponseEntity<List<Res_usersDTO>> fetchDefault(Res_usersSearchContext context) {
......@@ -114,6 +122,7 @@ public class Res_usersResource {
.body(list);
}
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','iBizBusinessCentral-Res_users-searchDefault-all') and hasPermission(#context,'iBizBusinessCentral-Res_users-Get')")
@ApiOperation(value = "查询默认查询", tags = {"用户" } ,notes = "查询默认查询")
@RequestMapping(method= RequestMethod.POST , value="/res_users/searchdefault")
public ResponseEntity<Page<Res_usersDTO>> searchDefault(@RequestBody Res_usersSearchContext context) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册