同步框架更新
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppAuthorize;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppAuthorizeMapper extends BaseMapper<AppAuthorize> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.app.entity.AppFuncDesign;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-07-26
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppFuncDesignMapper extends MPJBaseMapper<AppFuncDesign> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenuButton;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单按钮 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuButtonMapper extends BaseMapper<AppMenuButton> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenuColumn;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单列表字段 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuColumnMapper extends BaseMapper<AppMenuColumn> {
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenuForm;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单表单字段 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuFormMapper extends BaseMapper<AppMenuForm> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenu;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-07-26
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuMapper extends BaseMapper<AppMenu> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppPageDesign;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* xjr_data_display【数据展示表】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppPageDesignMapper extends BaseMapper<AppPageDesign> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.bi.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.bi.entity.Project;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-11-06
|
||||
*/
|
||||
@Mapper
|
||||
public interface ProjectMapper extends MPJBaseMapper<Project> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.desktop.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.desktop.entity.DesktopHistory;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-04-13
|
||||
*/
|
||||
@Mapper
|
||||
public interface DesktopHistoryMapper extends MPJBaseMapper<DesktopHistory> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.desktop.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.desktop.entity.DesktopRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 桌面设计授权表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-06-01
|
||||
*/
|
||||
@Mapper
|
||||
public interface DesktopRelationMapper extends BaseMapper<DesktopRelation> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.desktop.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.desktop.entity.DesktopSchema;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 桌面设计历史记录 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-04-13
|
||||
*/
|
||||
@Mapper
|
||||
public interface DesktopSchemaMapper extends BaseMapper<DesktopSchema> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.desktop.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.desktop.entity.UserDesktopRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户桌面设计首页关系表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-06-02
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserDesktopRelationMapper extends BaseMapper<UserDesktopRelation> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpApplyDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @title: mapper
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpApplyDetailMapper extends MPJBaseMapper<CaseErpApplyDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpApply;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @title: mapper
|
||||
* @Author 管理员
|
||||
* @Date: 2023-07-20
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpApplyMapper extends MPJBaseMapper<CaseErpApply> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpBom;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpBomMapper extends MPJBaseMapper<CaseErpBom> {
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpCustomerContacts;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户联系人【case_erp_customer_contacts】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-11
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpCustomerContactsMapper extends BaseMapper<CaseErpCustomerContacts> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpCustomerFollow;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户跟进【case_erp_customer_follow】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-11
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpCustomerFollowMapper extends BaseMapper<CaseErpCustomerFollow> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpCustomerGatherDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户回款详情【case_erp_customer_gather_detail】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-12
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpCustomerGatherDetailMapper extends BaseMapper<CaseErpCustomerGatherDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpCustomerGather;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户回款【case_erp_customer_gather】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-12
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpCustomerGatherMapper extends BaseMapper<CaseErpCustomerGather> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpCustomer;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 客户信息【case_erp_customer】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-11
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpCustomerMapper extends MPJBaseMapper<CaseErpCustomer> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpDeviceInfo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备信息【case_erp_deviceinfo】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-21
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpDeviceInfoMapper extends MPJBaseMapper<CaseErpDeviceInfo> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpDeviceInspect;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 运维巡检【case_erp_device_inspect】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-10
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpDeviceInspectMapper extends MPJBaseMapper<CaseErpDeviceInspect> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpDeviceWarn;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备告警【case_erp_device_warn】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-10
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpDeviceWarnMapper extends MPJBaseMapper<CaseErpDeviceWarn> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpInstoreLog;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 入库记录【case_erp_instore_log】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpInstoreLogMapper extends BaseMapper<CaseErpInstoreLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpLog;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 操作记录【case_erp_log】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpLogMapper extends BaseMapper<CaseErpLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpMaterialClasses;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpMaterialClassesMapper extends MPJBaseMapper<CaseErpMaterialClasses> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpMaterial;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpMaterialMapper extends MPJBaseMapper<CaseErpMaterial> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpMaterialProperty;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpMaterialPropertyMapper extends MPJBaseMapper<CaseErpMaterialProperty> {
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpOutstoreLog;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 出库记录【case_erp_outstore_log】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpOutstoreLogMapper extends BaseMapper<CaseErpOutstoreLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpPurchaseDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 采购订单详情【case_erp_purchase_detail】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-21
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpPurchaseDetailMapper extends BaseMapper<CaseErpPurchaseDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpPurchase;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 采购订单信息【case_erp_purchase】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-21
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpPurchaseMapper extends MPJBaseMapper<CaseErpPurchase> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpSaleDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 销售订单详情【case_erp_sale_detail】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-17
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpSaleDetailMapper extends BaseMapper<CaseErpSaleDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpSale;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 销售订单信息【case_erp_sale】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-17
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpSaleMapper extends BaseMapper<CaseErpSale> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpStoreReceiptDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 出入库单据信息详情表【case_erp_store_receipt_detail】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpStoreReceiptDetailMapper extends BaseMapper<CaseErpStoreReceiptDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpStoreReceipt;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 出入库单据信息表【case_erp_store_receipt】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpStoreReceiptMapper extends BaseMapper<CaseErpStoreReceipt> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpSupplierFormal;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 供应商转正申请【case_erp_supplier_formal】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-05
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpSupplierFormalMapper extends BaseMapper<CaseErpSupplierFormal> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpSupplier;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 供应商信息【case_erp_supplier】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpSupplierMapper extends MPJBaseMapper<CaseErpSupplier> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpSupplierRisk;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 供应商风险评估【case_erp_supplier_risk】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-04
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpSupplierRiskMapper extends BaseMapper<CaseErpSupplierRisk> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpSupplyMaterial;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 供应商供货清单【case_erp_supply_material】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-07-05
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpSupplyMaterialMapper extends MPJBaseMapper<CaseErpSupplyMaterial> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpUnitConvertDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpUnitConvertDetailMapper extends MPJBaseMapper<CaseErpUnitConvertDetail> {
|
||||
}
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpUnitConvert;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpUnitConvertMapper extends MPJBaseMapper<CaseErpUnitConvert> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpUnit;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface CaseErpUnitMapper extends MPJBaseMapper<CaseErpUnit> {
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.erp.entity.CaseErpUnitType;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 单位类型【case_erp_unit_type】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-13
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaseErpUnitTypeMapper extends MPJBaseMapper<CaseErpUnitType> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.Order;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface OrderMapper extends BaseMapper<Order> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.OrderProduct;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface OrderProductMapper extends BaseMapper<OrderProduct> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.erp.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.erp.entity.Product;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface ProductMapper extends BaseMapper<Product> {
|
||||
|
||||
}
|
||||
@ -50,12 +50,14 @@
|
||||
<artifactId>xjrsoft-service-magicapi-api</artifactId>
|
||||
<version>${xjrsoft.framework.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.xjrsoft</groupId>
|
||||
<artifactId>xjrsoft-service-generate-api</artifactId>
|
||||
<version>${xjrsoft.framework.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.xjrsoft</groupId>
|
||||
<artifactId>xjrsoft-service-app-api</artifactId>
|
||||
|
||||
@ -0,0 +1,68 @@
|
||||
package com.xjrsoft.form.client;
|
||||
|
||||
import com.github.yulichang.toolkit.MPJWrappers;
|
||||
import com.xjrsoft.common.core.constant.GlobalConstant;
|
||||
import com.xjrsoft.form.entity.FormRelease;
|
||||
import com.xjrsoft.form.service.IFormReleaseService;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.apache.commons.lang3.ObjectUtils;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: zn
|
||||
* @Date: 2025/02/13 16:19
|
||||
*/
|
||||
@Hidden
|
||||
@RestController
|
||||
@AllArgsConstructor
|
||||
public class FormReleaseClient implements IFormReleaseClient{
|
||||
|
||||
private final IFormReleaseService formReleaseService;
|
||||
|
||||
|
||||
/**
|
||||
* 查询单个接口
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_FORM_NAME + "/selectByIdFeign")
|
||||
public FormRelease selectByIdFeign(Long id) {
|
||||
return formReleaseService.getById(id);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询单条数据
|
||||
* @param formRelease
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_FORM_NAME + "/selectByFormReleaseFeign")
|
||||
public FormRelease selectByFormReleaseFeign(FormRelease formRelease) {
|
||||
FormRelease release = formReleaseService.getOne(MPJWrappers.<FormRelease>lambdaJoin()
|
||||
.eq(ObjectUtils.isNotEmpty(formRelease.getFormId()), FormRelease::getFormId, formRelease.getFormId())
|
||||
.orderByDesc(FormRelease::getCreateDate));
|
||||
return release;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询List
|
||||
* @param formRelease
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_FORM_NAME + "/selectListFeign")
|
||||
public List<FormRelease> selectListFeign(FormRelease formRelease) {
|
||||
List<FormRelease> releaseList = formReleaseService.list(MPJWrappers.<FormRelease>lambdaJoin()
|
||||
.eq(ObjectUtils.isNotEmpty(formRelease.getFormId()), FormRelease::getFormId, formRelease.getFormId())
|
||||
.orderByDesc(FormRelease::getCreateDate));
|
||||
return releaseList;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.form.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.form.entity.FormHistory;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 自定义表单历史表 每次修改自定义表单会新增一条数据 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-05-09
|
||||
*/
|
||||
@Mapper
|
||||
public interface FormHistoryMapper extends MPJBaseMapper<FormHistory> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.form.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.form.entity.FormRelease;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 自定义表单 发布表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-05-09
|
||||
*/
|
||||
@Mapper
|
||||
public interface FormReleaseMapper extends MPJBaseMapper<FormRelease> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.form.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.form.entity.FormTemplate;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 表单设计模板 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-05-09
|
||||
*/
|
||||
@Mapper
|
||||
public interface FormTemplateMapper extends MPJBaseMapper<FormTemplate> {
|
||||
|
||||
}
|
||||
@ -59,7 +59,6 @@ import com.xjrsoft.generate.utils.GeneratorUtil;
|
||||
import com.xjrsoft.system.client.ICodeRuleClient;
|
||||
import com.xjrsoft.system.entity.Menu;
|
||||
import com.xjrsoft.tenant.config.TenantConfig;
|
||||
import com.xjrsoft.tenant.util.SecureUtil;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.SneakyThrows;
|
||||
import net.sf.jsqlparser.expression.*;
|
||||
@ -1814,6 +1813,7 @@ public class FormExecuteServiceImpl implements IFormExecuteService {
|
||||
queryExpression = new AndExpression(queryExpression, dataAuthExpression);
|
||||
}
|
||||
}
|
||||
|
||||
plainSelect.setWhere(queryExpression);
|
||||
Db use = Db.use(datasource);
|
||||
use.setRunner(new XjrSqlConnRunner(DialectFactory.getDialect(datasource)));
|
||||
|
||||
@ -6,8 +6,6 @@ import cn.hutool.core.util.StrUtil;
|
||||
import cn.hutool.db.Db;
|
||||
import cn.hutool.db.DbUtil;
|
||||
import cn.hutool.db.meta.MetaUtil;
|
||||
import cn.hutool.json.JSONConfig;
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import com.baomidou.mybatisplus.annotation.DbType;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
package com.xjrsoft.magicapi.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.xjrsoft.magicapi.service.IInterfaceAuthService;
|
||||
import com.xjrsoft.system.entity.InterfaceAuth;
|
||||
import com.xjrsoft.system.mapper.InterfaceAuthMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 接口权限表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-11-03
|
||||
*/
|
||||
@Service
|
||||
public class InterfaceAuthServiceImpl extends ServiceImpl<InterfaceAuthMapper, InterfaceAuth> implements IInterfaceAuthService {
|
||||
|
||||
@Override
|
||||
public List<String> loadAuthInterfaceIdsOfUser(Long userId) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -52,11 +52,13 @@
|
||||
<groupId>com.cloud.govern</groupId>
|
||||
<artifactId>service-invoke-sdk</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.xjrsoft</groupId>
|
||||
<artifactId>xjrsoft-service-system-api</artifactId>
|
||||
<version>${xjrsoft.framework.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
package com.xjrsoft.organization.client;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.xjrsoft.common.core.constant.GlobalConstant;
|
||||
import com.xjrsoft.common.redis.service.RedisUtil;
|
||||
import com.xjrsoft.organization.entity.Department;
|
||||
@ -65,8 +66,8 @@ public class DepartmentClient implements IDepartmentClient {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Department> queryPathFromRoot(List<Department> list) {
|
||||
@PostMapping(value = GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_ORGANIZATION_NAME + "/queryPathFromRootFeign")
|
||||
public List<Department> queryPathFromRoot(@RequestBody List<Department> list) {
|
||||
return departmentService.queryPathFromRoot(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -123,9 +123,9 @@ public class UserController {
|
||||
SaSession tokenSession = StpUtil.getTokenSession();
|
||||
User user = tokenSession.get(GlobalConstant.LOGIN_USER_INFO_KEY, new User());
|
||||
UserInfoVo currentInfo = userService.getCurrentInfo(user);
|
||||
// currentInfo.setTenantId(SecureUtil.getCurrentTenantId());
|
||||
// currentInfo.setTenantCode(SecureUtil.getCurrentTenantCode());
|
||||
// currentInfo.setTenantName(SecureUtil.getCurrentTenantName());
|
||||
/*currentInfo.setTenantId(SecureUtil.getCurrentTenantId());
|
||||
currentInfo.setTenantCode(SecureUtil.getCurrentTenantCode());
|
||||
currentInfo.setTenantName(SecureUtil.getCurrentTenantName());*/
|
||||
return R.ok(currentInfo);
|
||||
}
|
||||
|
||||
|
||||
@ -0,0 +1,53 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.organization.entity.Department;
|
||||
import org.apache.ibatis.annotations.MapKey;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 机构 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-02
|
||||
*/
|
||||
@Mapper
|
||||
public interface DepartmentMapper extends MPJBaseMapper<Department> {
|
||||
|
||||
@Deprecated
|
||||
@Select("WITH RECURSIVE parent_path AS ( SELECT id, parent_id FROM xjr_department WHERE id = #{id} UNION ALL SELECT c.id, c.parent_id FROM xjr_department c INNER JOIN parent_path pp ON c.id = pp.parent_id WHERE delete_mark = 0 ) SELECT parent_id FROM parent_path")
|
||||
List<String> findDeptPIds(@Param("id")String id);
|
||||
|
||||
/**
|
||||
* 查询指定节点的所有父节点id
|
||||
* 传参:
|
||||
* queryType=parent
|
||||
* startIds=Long[]{指定节点}
|
||||
* @param params
|
||||
* @return
|
||||
*/
|
||||
List<String> findParentIds(@Param("params") Map<String,Object> params);
|
||||
|
||||
/**
|
||||
* 查询部门路径
|
||||
* 传参:
|
||||
* queryType=parent
|
||||
* startIds=Long[]{指定节点开始}
|
||||
* stopParentIds=Long[]{查询到该节点为止}
|
||||
* isQueryIdPath是否返回id,默认返回部门名称
|
||||
* isQueryOrderDesc是否由指定节点到根节点的顺序,默认是从根节点到指定节点的顺序
|
||||
* pathSeparator路径分隔符,默认是/
|
||||
* @param params
|
||||
* @return 部门id,部门路径的map
|
||||
*/
|
||||
@MapKey("flag")
|
||||
Map<Long,Map>queryDeptPath(@Param("params") Map<String,Object> params);
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.organization.entity.Post;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 岗位 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-02
|
||||
*/
|
||||
@Mapper
|
||||
public interface PostMapper extends MPJBaseMapper<Post> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.organization.entity.Role;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 角色 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-02
|
||||
*/
|
||||
@Mapper
|
||||
public interface RoleMapper extends BaseMapper<Role> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.organization.entity.SyncOrgAndUserFromDataCenter;
|
||||
import org.apache.ibatis.annotations.Delete;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SyncOrgAndUserFromDataCenterMapper extends MPJBaseMapper<SyncOrgAndUserFromDataCenter> {
|
||||
@InterceptorIgnore(blockAttack = "true")
|
||||
@Delete("delete from xjr_sync_datacenter_org_user")
|
||||
Integer emptyAllData()throws Exception;
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.organization.entity.UserChargeDept;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户负责部门表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserChargeDeptMapper extends BaseMapper<UserChargeDept> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.organization.entity.UserDeptRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface UserDeptRelationMapper extends BaseMapper<UserDeptRelation> {
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.organization.entity.User;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.xjrsoft.organization.entity.Department;
|
||||
import com.xjrsoft.organization.vo.UserRoleVo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-02
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserMapper extends MPJBaseMapper<User> {
|
||||
|
||||
List<Department> queryDepartmentsOfUser(Long id);
|
||||
|
||||
List<UserRoleVo> queryRolesOfUser(Long id);
|
||||
}
|
||||
@ -0,0 +1,145 @@
|
||||
<?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="com.xjrsoft.module.organization.mapper.UserMapper">
|
||||
|
||||
<resultMap id="userVoResultMap" type="com.xjrsoft.module.organization.vo.UserVo">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="user_name" jdbcType="VARCHAR" property="enCode" />
|
||||
<result column="name" jdbcType="VARCHAR" property="account" />
|
||||
<result column="code" jdbcType="VARCHAR" property="password" />
|
||||
<result column="nick_name" jdbcType="VARCHAR" property="secretkey" />
|
||||
<result column="password" jdbcType="VARCHAR" property="realName" />
|
||||
<result column="gender" jdbcType="VARCHAR" property="nickName" />
|
||||
<result column="mobile" jdbcType="VARCHAR" property="headIcon" />
|
||||
<result column="avatar" jdbcType="VARCHAR" property="quickQuery" />
|
||||
<result column="email" jdbcType="VARCHAR" property="simpleSpelling" />
|
||||
<result column="address" jdbcType="INTEGER" property="gender" />
|
||||
<result column="F_Birthday" jdbcType="TIMESTAMP" property="birthday" />
|
||||
<result column="F_Mobile" jdbcType="VARCHAR" property="mobile" />
|
||||
<result column="F_Telephone" jdbcType="VARCHAR" property="telephone" />
|
||||
<result column="F_Email" jdbcType="VARCHAR" property="email" />
|
||||
<result column="F_OICQ" jdbcType="VARCHAR" property="oicq" />
|
||||
<result column="F_WeChat" jdbcType="VARCHAR" property="weChat" />
|
||||
<result column="F_MSN" jdbcType="VARCHAR" property="msn" />
|
||||
<result column="F_CompanyId" jdbcType="VARCHAR" property="companyId" />
|
||||
<result column="F_SecurityLevel" jdbcType="INTEGER" property="securityLevel" />
|
||||
<result column="F_OpenId" jdbcType="INTEGER" property="openId" />
|
||||
<result column="F_Question" jdbcType="VARCHAR" property="question" />
|
||||
<result column="F_AnswerQuestion" jdbcType="VARCHAR" property="answerQuestion" />
|
||||
<result column="F_CheckOnLine" jdbcType="INTEGER" property="checkOnLine" />
|
||||
<result column="F_AllowStartTime" jdbcType="TIMESTAMP" property="allowStartTime" />
|
||||
<result column="F_AllowEndTime" jdbcType="TIMESTAMP" property="allowEndTime" />
|
||||
<result column="F_LockStartDate" jdbcType="TIMESTAMP" property="lockStartDate" />
|
||||
<result column="F_LockEndDate" jdbcType="TIMESTAMP" property="lockEndDate" />
|
||||
<result column="F_SortCode" jdbcType="INTEGER" property="sortCode" />
|
||||
<result column="F_DeleteMark" jdbcType="INTEGER" property="deleteMark" />
|
||||
<result column="F_EnabledMark" jdbcType="INTEGER" property="enabledMark" />
|
||||
<result column="F_Description" jdbcType="VARCHAR" property="description" />
|
||||
<result column="f_titletechpost" jdbcType="VARCHAR" property="titleTechPost" />
|
||||
<!-- <result column="F_CreateDate" jdbcType="TIMESTAMP" property="createDate" />-->
|
||||
<result column="F_CreateUserId" jdbcType="VARCHAR" property="createUserId" />
|
||||
<!-- <result column="F_CreateUserName" jdbcType="VARCHAR" property="createUserName" />-->
|
||||
<!-- <result column="F_ModifyDate" jdbcType="TIMESTAMP" property="modifyDate" />-->
|
||||
<!-- <result column="F_ModifyUserId" jdbcType="VARCHAR" property="modifyUserId" />-->
|
||||
<!-- <result column="F_ModifyUserName" jdbcType="VARCHAR" property="modifyUserName" />-->
|
||||
<result column="F_Token" jdbcType="VARCHAR" property="token" />
|
||||
<collection property="departmentSimpleVoList" column="F_UserId" select="getDepartmentSimpleVo"
|
||||
javaType="ArrayList" ofType="com.xjrsoft.module.base.vo.DepartmentSimpleVo" >
|
||||
</collection>
|
||||
</resultMap>
|
||||
|
||||
|
||||
|
||||
<resultMap id="departmentResultMap" type="com.xjrsoft.module.organization.entity.Department">
|
||||
<id column="F_DepartmentId" jdbcType="VARCHAR" property="id" />
|
||||
<result column="F_CompanyId" jdbcType="VARCHAR" property="name" />
|
||||
<result column="F_ParentId" jdbcType="VARCHAR" property="parentId" />
|
||||
<result column="F_EnCode" jdbcType="VARCHAR" property="code" />
|
||||
<!--<result column="F_FullName" jdbcType="VARCHAR" property="fullName" />
|
||||
<result column="F_ShortName" jdbcType="VARCHAR" property="shortName" />
|
||||
<result column="F_Nature" jdbcType="VARCHAR" property="nature" />
|
||||
<result column="F_Manager" jdbcType="VARCHAR" property="manager" />
|
||||
<result column="F_OuterPhone" jdbcType="VARCHAR" property="outerPhone" />
|
||||
<result column="F_InnerPhone" jdbcType="VARCHAR" property="innerPhone" />
|
||||
<result column="F_Email" jdbcType="VARCHAR" property="email" />
|
||||
<result column="F_Fax" jdbcType="VARCHAR" property="fax" />
|
||||
<result column="F_SortCode" jdbcType="INTEGER" property="sortCode" />
|
||||
<result column="F_DeleteMark" jdbcType="INTEGER" property="deleteMark" />
|
||||
<result column="F_EnabledMark" jdbcType="INTEGER" property="enabledMark" />
|
||||
<result column="F_CreateDate" jdbcType="TIMESTAMP" property="createDate" />
|
||||
<result column="F_CreateUserId" jdbcType="VARCHAR" property="createUserId" />
|
||||
<result column="F_CreateUserName" jdbcType="VARCHAR" property="createUserName" />
|
||||
<result column="F_ModifyDate" jdbcType="TIMESTAMP" property="modifyDate" />
|
||||
<result column="F_ModifyUserId" jdbcType="VARCHAR" property="modifyUserId" />
|
||||
<result column="F_ModifyUserName" jdbcType="VARCHAR" property="modifyUserName" />
|
||||
<result column="F_DingTalkId" jdbcType="VARCHAR" property="dingTalkId" />-->
|
||||
</resultMap>
|
||||
|
||||
|
||||
<resultMap id="roleBaseResultMap" type="com.xjrsoft.module.organization.entity.Role">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="code" jdbcType="VARCHAR" property="code" />
|
||||
<result column="sort_code" jdbcType="VARCHAR" property="sortCode" />
|
||||
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
||||
<!--<result column="F_FullName" jdbcType="VARCHAR" property="fullName" />
|
||||
<result column="F_ShortName" jdbcType="VARCHAR" property="shortName" />
|
||||
<result column="F_Nature" jdbcType="VARCHAR" property="nature" />
|
||||
<result column="F_Manager" jdbcType="VARCHAR" property="manager" />
|
||||
<result column="F_OuterPhone" jdbcType="VARCHAR" property="outerPhone" />
|
||||
<result column="F_InnerPhone" jdbcType="VARCHAR" property="innerPhone" />
|
||||
<result column="F_Email" jdbcType="VARCHAR" property="email" />
|
||||
<result column="F_Fax" jdbcType="VARCHAR" property="fax" />
|
||||
<result column="F_SortCode" jdbcType="INTEGER" property="sortCode" />
|
||||
<result column="F_DeleteMark" jdbcType="INTEGER" property="deleteMark" />
|
||||
<result column="F_EnabledMark" jdbcType="INTEGER" property="enabledMark" />
|
||||
<result column="F_CreateDate" jdbcType="TIMESTAMP" property="createDate" />
|
||||
<result column="F_CreateUserId" jdbcType="VARCHAR" property="createUserId" />
|
||||
<result column="F_CreateUserName" jdbcType="VARCHAR" property="createUserName" />
|
||||
<result column="F_ModifyDate" jdbcType="TIMESTAMP" property="modifyDate" />
|
||||
<result column="F_ModifyUserId" jdbcType="VARCHAR" property="modifyUserId" />
|
||||
<result column="F_ModifyUserName" jdbcType="VARCHAR" property="modifyUserName" />
|
||||
<result column="F_DingTalkId" jdbcType="VARCHAR" property="dingTalkId" />-->
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="queryRolesOfUser" resultMap="roleBaseResultMap">
|
||||
select
|
||||
xbr.*
|
||||
from
|
||||
xjr_base_role xbr
|
||||
left join xjr_base_userrelation xbu on
|
||||
xbr.F_RoleId = xbu.F_ObjectId
|
||||
and xbu.F_Category = 1
|
||||
where
|
||||
xbu.F_UserId = #{param1}
|
||||
and xbr.F_DeleteMark = 0
|
||||
and xbr.F_EnabledMark = 1
|
||||
</select>
|
||||
|
||||
<select id="queryDepartmentsOfUser" resultMap="departmentResultMap">
|
||||
select
|
||||
xbd.id,xbd.name,xbd.code,xbd.parent_id
|
||||
from
|
||||
xjr_department xbd
|
||||
left join xjr_user_dept_relation xbu on
|
||||
xbd.id = xbu.dept_id
|
||||
where
|
||||
xbu.user_id = #{param1}
|
||||
and xbd.delete_mark = 0
|
||||
and xbd.enabled_mark = 1
|
||||
order by xbd.sort_code
|
||||
</select>
|
||||
|
||||
<select id="queryWithLogicDel" parameterType="map" resultType="com.xjrsoft.module.organization.entity.User">
|
||||
select *
|
||||
FROM xjr_user
|
||||
WHERE
|
||||
<if test="params.ids != null and params.ids.length>0 ">
|
||||
id in
|
||||
<foreach item="item" collection="params.ids" index="i" open="(" separator="," close=")">
|
||||
#{params.ids[${i}]}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.organization.entity.UserPostRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface UserPostRelationMapper extends BaseMapper<UserPostRelation> {
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.xjrsoft.organization.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.organization.entity.UserRoleRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
/**
|
||||
* <p>
|
||||
* 用户关联角色表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-02
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserRoleRelationMapper extends BaseMapper<UserRoleRelation> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,123 @@
|
||||
<?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="com.xjrsoft.organization.mapper.DepartmentMapper">
|
||||
<sql id="DEPT_TREE">
|
||||
WITH RECURSIVE DEPT_TREE AS (
|
||||
SELECT id,name,parent_id,code,sort_code,enabled_mark,department_type,equal_dept_id,company_lvl,id as start_id,1 as lvl
|
||||
FROM xjr_department
|
||||
WHERE
|
||||
<if test="params.startIds != null and params.startIds.length>0 ">
|
||||
id in
|
||||
<foreach item="item" collection="params.startIds" index="i" open="(" separator="," close=")">
|
||||
#{params.startIds[${i}]}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.startParentIds != null and params.startParentIds.length>0 ">
|
||||
parent_id in
|
||||
<foreach item="item" collection="params.startParentIds" index="i" open="(" separator="," close=")">
|
||||
#{params.startParentIds[${i}]}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.startChildIds != null and params.startChildIds.length>0 ">
|
||||
id in (
|
||||
select a.parent_id from xjr_department a where a.id in
|
||||
<foreach item="item" collection="params.startChildIds" index="i" open="(" separator="," close=")">
|
||||
#{params.startChildIds[${i}]}
|
||||
</foreach>
|
||||
)
|
||||
</if>
|
||||
UNION ALL
|
||||
SELECT c.id,c.name,c.parent_id,c.code,c.sort_code,c.enabled_mark,c.department_type,c.equal_dept_id,c.company_lvl,t.start_id,t.lvl+1 as lvl
|
||||
FROM xjr_department c
|
||||
inner JOIN DEPT_TREE t ON
|
||||
<if test="params.queryType != null and params.queryType == 'parent'.toString()">
|
||||
c.id = t.parent_id
|
||||
</if>
|
||||
<if test="params.queryType != null and params.queryType == 'children'.toString()">
|
||||
c.parent_id = t.id
|
||||
</if>
|
||||
<if test="params.enabled != null">
|
||||
and c.enabled_mark = #{params.enabled}
|
||||
</if>
|
||||
<if test="params.stopIds != null and params.stopIds.length>0 ">
|
||||
and c.id not in
|
||||
<foreach item="item" collection="params.stopIds" index="i" open="(" separator="," close=")">
|
||||
#{params.stopIds[${i}]}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.stopParentIds != null and params.stopParentIds.length>0 ">
|
||||
and t.id not in
|
||||
<foreach item="item" collection="params.stopParentIds" index="i" open="(" separator="," close=")">
|
||||
#{params.stopParentIds[${i}]}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.stopDeptTypes != null and params.stopDeptTypes.length>0 ">
|
||||
and c.department_type not in
|
||||
<foreach item="item" collection="params.stopDeptTypes" index="i" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
)
|
||||
</sql>
|
||||
|
||||
<select id="queryDeepOrgs" parameterType="map" resultType="com.xjrsoft.organization.entity.Department">
|
||||
<include refid="DEPT_TREE"/>
|
||||
SELECT * FROM DEPT_TREE
|
||||
<where>
|
||||
<if test="params.includeDeptTypes != null and params.includeDeptTypes.length>0">
|
||||
department_type in
|
||||
<foreach item="item" collection="params.includeDeptTypes" index="i" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.excludeDeptTypes != null and params.excludeDeptTypes.length>0">
|
||||
and department_type not in
|
||||
<foreach item="item" collection="params.excludeDeptTypes" index="i" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="queryDeptPath" parameterType="map" resultType="Map">
|
||||
<include refid="DEPT_TREE"/>
|
||||
select start_id as flag,group_concat(
|
||||
<choose>
|
||||
<when test="params.isQueryIdPath != null and params.isQueryIdPath == 'Y'.toString()">id </when>
|
||||
<otherwise>name </otherwise>
|
||||
</choose>
|
||||
order by lvl
|
||||
<choose>
|
||||
<when test="params.isQueryOrderDesc != null and params.isQueryOrderDesc == 'Y'.toString()"/>
|
||||
<otherwise>desc </otherwise>
|
||||
</choose>
|
||||
SEPARATOR
|
||||
<choose>
|
||||
<when test="params.pathSeparator != null">#{params.pathSeparator} </when>
|
||||
<otherwise>'/' </otherwise>
|
||||
</choose>
|
||||
) as path from DEPT_TREE
|
||||
group by start_id
|
||||
</select>
|
||||
|
||||
<!--获取公司通过组织ids-->
|
||||
<select id="queryCompanies" parameterType="map" resultType="com.xjrsoft.organization.entity.Department">
|
||||
<include refid="DEPT_TREE"/>
|
||||
select * from (
|
||||
select row_number() over(partition by start_id order by lvl) as row_number,* from DEPT_TREE where department_type not in(0)
|
||||
) where row_number = 1
|
||||
</select>
|
||||
|
||||
<select id="queryWithLogicDel" parameterType="map" resultType="com.xjrsoft.organization.entity.Department">
|
||||
select *
|
||||
FROM xjr_department
|
||||
WHERE
|
||||
<if test="params.ids != null and params.ids.length>0 ">
|
||||
id in
|
||||
<foreach item="item" collection="params.ids" index="i" open="(" separator="," close=")">
|
||||
#{params.ids[${i}]}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@ -1,6 +1,5 @@
|
||||
package com.xjrsoft.system.client;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.github.yulichang.toolkit.MPJWrappers;
|
||||
@ -11,7 +10,6 @@ import com.xjrsoft.system.mapper.MenuMapper;
|
||||
import com.xjrsoft.system.service.IMenuService;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -1,14 +1,20 @@
|
||||
package com.xjrsoft.system.client;
|
||||
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.xjrsoft.common.core.constant.GlobalConstant;
|
||||
import com.xjrsoft.system.entity.Message;
|
||||
import com.xjrsoft.system.model.MessageNoticePolicyParam;
|
||||
import com.xjrsoft.system.service.IMessageService;
|
||||
import com.xjrsoft.system.utils.SendMessageUtil;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/10/18 15:13
|
||||
@ -18,6 +24,8 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@AllArgsConstructor
|
||||
public class MessageClient implements IMessageClient {
|
||||
|
||||
public final IMessageService messageService;
|
||||
|
||||
@Override
|
||||
@PostMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/sendWorkflowTimeoutMessageFeign")
|
||||
public void sendWorkflowTimeoutMessageFeign(@RequestBody MessageNoticePolicyParam param) {
|
||||
@ -78,4 +86,11 @@ public class MessageClient implements IMessageClient {
|
||||
public void sendWorkflowTimeoutDingtalkFeign(@RequestBody MessageNoticePolicyParam param) {
|
||||
SendMessageUtil.sendWorkflowTimeoutDingtalk(param);
|
||||
}
|
||||
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/selectListFeign")
|
||||
public List<Message> selectListFeign(Message message) {
|
||||
return messageService.selectList(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@ import com.xjrsoft.system.service.ISystemConfigService;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
@ -21,7 +22,7 @@ public class SystemConfigClient implements ISystemConfigClient {
|
||||
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/queryByCode")
|
||||
public XjrSystemConfig queryByCode(String code) {
|
||||
public XjrSystemConfig queryByCode(@RequestParam("code")String code) {
|
||||
return systemConfigService.queryByCode(code);
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.Area;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 行政区域表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-06-16
|
||||
*/
|
||||
@Mapper
|
||||
public interface AreaMapper extends BaseMapper<Area> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.Authorize;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-16
|
||||
*/
|
||||
@Mapper
|
||||
public interface AuthorizeMapper extends BaseMapper<Authorize> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.CodeRule;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 编号规则表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-06-23
|
||||
*/
|
||||
@Mapper
|
||||
public interface CodeRuleMapper extends MPJBaseMapper<CodeRule> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.CodeRuleSeed;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 编号规则种子表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-06-23
|
||||
*/
|
||||
@Mapper
|
||||
public interface CodeRuleSeedMapper extends BaseMapper<CodeRuleSeed> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.CodeSchema;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 代码模板 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-09-29
|
||||
*/
|
||||
@Mapper
|
||||
public interface CodeSchemaMapper extends MPJBaseMapper<CodeSchema> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.DataAuthConfig;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据权限自定义配置详情表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-02-27
|
||||
*/
|
||||
@Mapper
|
||||
public interface DataAuthConfigMapper extends BaseMapper<DataAuthConfig> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.DataAuth;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据权限表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-02-27
|
||||
*/
|
||||
@Mapper
|
||||
public interface DataAuthMapper extends MPJBaseMapper<DataAuth> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.DataAuthRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据权限 对象类型关联表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-02-27
|
||||
*/
|
||||
@Mapper
|
||||
public interface DataAuthRelationMapper extends BaseMapper<DataAuthRelation> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.DataAuthTableRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据权限 与 表 关联关系表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-02-28
|
||||
*/
|
||||
@Mapper
|
||||
public interface DataAuthTableRelationMapper extends BaseMapper<DataAuthTableRelation> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.Databaselink;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据库连接表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-04
|
||||
*/
|
||||
@Mapper
|
||||
public interface DatabaselinkMapper extends BaseMapper<Databaselink> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.Datasource;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据源表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-08
|
||||
*/
|
||||
@Mapper
|
||||
public interface DatasourceMapper extends MPJBaseMapper<Datasource> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.DictionaryDetail;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据字典详情 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-17
|
||||
*/
|
||||
@Mapper
|
||||
public interface DictionarydetailMapper extends BaseMapper<DictionaryDetail> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.DictionaryItem;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据字典项目 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-17
|
||||
*/
|
||||
@Mapper
|
||||
public interface DictionaryitemMapper extends BaseMapper<DictionaryItem> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.File;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件关联关系表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-08
|
||||
*/
|
||||
@Mapper
|
||||
public interface FileMapper extends MPJBaseMapper<File> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.InterfaceAuth;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 接口权限表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-11-03
|
||||
*/
|
||||
@Mapper
|
||||
public interface InterfaceAuthMapper extends BaseMapper<InterfaceAuth> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.Language;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 语言翻译表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-10-09
|
||||
*/
|
||||
@Mapper
|
||||
public interface LanguageMapper extends BaseMapper<Language> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.LanguageType;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 多语言语言类型表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-06-30
|
||||
*/
|
||||
@Mapper
|
||||
public interface LanguageTypeMapper extends BaseMapper<LanguageType> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.LiteflowChain;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 规则表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-04-06
|
||||
*/
|
||||
@Mapper
|
||||
public interface LiteflowChainMapper extends BaseMapper<LiteflowChain> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.LiteflowScript;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 规则脚本表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-04-06
|
||||
*/
|
||||
@Mapper
|
||||
public interface LiteflowScriptMapper extends BaseMapper<LiteflowScript> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.Log;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 系统日志表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-04
|
||||
*/
|
||||
@Mapper
|
||||
public interface LogMapper extends BaseMapper<Log> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.LoginConfig;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Login登录配置表【xjr_login_config】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-11-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface LoginConfigMapper extends BaseMapper<LoginConfig> {
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.LogoConfig;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Logo信息配置表【xjr_logo_config】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-11-20
|
||||
*/
|
||||
@Mapper
|
||||
public interface LogoConfigMapper extends BaseMapper<LogoConfig> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.MenuButton;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单按钮 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-16
|
||||
*/
|
||||
@Mapper
|
||||
public interface MenuButtonMapper extends BaseMapper<MenuButton> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.MenuColumn;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单列表字段 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-07-08
|
||||
*/
|
||||
@Mapper
|
||||
public interface MenuColumnMapper extends BaseMapper<MenuColumn> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.MenuForm;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单表单字段 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-07-08
|
||||
*/
|
||||
@Mapper
|
||||
public interface MenuFormMapper extends BaseMapper<MenuForm> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.Menu;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2022-03-16
|
||||
*/
|
||||
@Mapper
|
||||
public interface MenuMapper extends MPJBaseMapper<Menu> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.Message;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 消息状态 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-06-16
|
||||
*/
|
||||
@Mapper
|
||||
public interface MessageMapper extends BaseMapper<Message> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.system.entity.News;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 新闻中心表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author zlf
|
||||
* @since 2022-06-16
|
||||
*/
|
||||
@Mapper
|
||||
public interface NewsMapper extends MPJBaseMapper<News> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.system.entity.NewsRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface NewsRelationMapper extends BaseMapper<NewsRelation> {
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user