Commit 2a09e5c9 authored by hongguangwu's avatar hongguangwu

优化,别弄掉了

parent af2f9239
...@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute; import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity; import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
...@@ -77,103 +78,103 @@ public class TSocialFundInfo extends BaseEntity { ...@@ -77,103 +78,103 @@ public class TSocialFundInfo extends BaseEntity {
/** /**
* 员工身份证 * 员工身份证
*/ */
@Length(max = 20, message = "员工身份证 不能超过20个字符" ) @Length(max = 20, message = "身份证号 不能超过20个字符" )
@ExcelAttribute(name = "员工身份证", maxLength = 20) @ExcelAttribute(name = "身份证号", maxLength = 20)
@Schema(description = "员工身份证" ) @Schema(description = "身份证号" )
@ExcelProperty("员工身份证" ) @ExcelProperty("身份证号" )
private String empIdcard; private String empIdcard;
/** /**
* 员工类型 * 员工类型
*/ */
@Length(max = 32, message = "员工类型 不能超过32个字符" ) @Length(max = 32, message = "员工类型 不能超过32个字符" )
@ExcelAttribute(name = "员工类型", maxLength = 32) @ExcelAttribute(name = "员工类型", maxLength = 32, isDataId = true, dataType = ExcelAttributeConstants.EMP_NATRUE)
@Schema(description = "员工类型" ) @Schema(description = "员工类型" )
@ExcelProperty("员工类型" ) @ExcelProperty("员工类型" )
private String empType; private String empType;
/** /**
* 结算主体 * 结算主体
*/ */
@Length(max = 32, message = "结算主体 不能超过32个字符" ) @Length(max = 32, message = "项目id 不能超过32个字符" )
@ExcelAttribute(name = "结算主体", maxLength = 32) @ExcelAttribute(name = "项目id", maxLength = 32)
@Schema(description = "结算主体" ) @Schema(description = "项目id" )
@ExcelProperty("结算主体" ) @ExcelProperty("项目id" )
private String settleDomain; private String settleDomain;
/** /**
* 结算主体 * 结算主体
*/ */
@Length(max = 50, message = "结算主体 不能超过50个字符" ) @Length(max = 50, message = "社保项目名称不能超过50个字符" )
@ExcelAttribute(name = "结算主体", maxLength = 50) @ExcelAttribute(name = "社保项目名称", maxLength = 50)
@Schema(description = "结算主体" ) @Schema(description = "社保项目名称" )
@ExcelProperty("结算主体" ) @ExcelProperty("社保项目名称" )
private String settleDomainName; private String settleDomainName;
/** /**
* 结算主体编码 * 结算主体编码
*/ */
@Length(max = 50, message = "结算主体编码不能超过50个字符" ) @Length(max = 50, message = "社保项目编码不能超过50个字符" )
@ExcelAttribute(name = "结算主体编码", maxLength = 50) @ExcelAttribute(name = "社保项目编码", maxLength = 50)
@Schema(description = "结算主体编码" ) @Schema(description = "社保项目编码" )
@ExcelProperty("结算主体编码" ) @ExcelProperty("社保项目编码" )
private String settleDomainCode; private String settleDomainCode;
/** /**
* unitName * unitName
*/ */
@Length(max = 50, message = "unitName 不能超过50个字符" ) @Length(max = 50, message = "社保单位名称不能超过50个字符" )
@ExcelAttribute(name = "unitName", maxLength = 50) @ExcelAttribute(name = "社保单位名称", maxLength = 50)
@Schema(description = "unitName" ) @Schema(description = "社保单位名称" )
@ExcelProperty("unitName" ) @ExcelProperty("社保单位名称" )
private String unitName; private String unitName;
/** /**
* unitId * unitId
*/ */
@ExcelAttribute(name = "unitId", maxLength = 32) @ExcelAttribute(name = "社保单位id", maxLength = 32)
@Schema(description = "unitId" ) @Schema(description = "社保单位id" )
@ExcelProperty("unitId" ) @ExcelProperty("社保单位id" )
private String unitId; private String unitId;
/** /**
* 结算主体-公积金 * 结算主体-公积金
*/ */
@ExcelAttribute(name = "结算主体-公积金", maxLength = 32) @ExcelAttribute(name = "公积金项目id", maxLength = 32)
@Schema(description = "结算主体-公积金" ) @Schema(description = "公积金项目id" )
@ExcelProperty("结算主体-公积金" ) @ExcelProperty("公积金项目id" )
private String settleDomainFund; private String settleDomainFund;
/** /**
* 结算主体-公积金 * 结算主体-公积金
*/ */
@ExcelAttribute(name = "结算主体-公积金", maxLength = 50) @ExcelAttribute(name = "公积金项目名称", maxLength = 50)
@Schema(description = "结算主体-公积金" ) @Schema(description = "公积金项目名称" )
@ExcelProperty("结算主体-公积金" ) @ExcelProperty("公积金项目名称" )
private String settleDomainNameFund; private String settleDomainNameFund;
/** /**
* 结算主体编码-公积金 * 结算主体编码-公积金
*/ */
@ExcelAttribute(name = "结算主体编码-公积金", maxLength = 50) @ExcelAttribute(name = "公积金项目编码", maxLength = 50)
@Schema(description = "结算主体编码-公积金" ) @Schema(description = "公积金项目编码" )
@ExcelProperty("结算主体编码-公积金" ) @ExcelProperty("公积金项目编码" )
private String settleDomainCodeFund; private String settleDomainCodeFund;
/** /**
* 单位名称-公积金 * 单位名称-公积金
*/ */
@ExcelAttribute(name = "单位名称-公积金", maxLength = 50) @ExcelAttribute(name = "公积金单位名称", maxLength = 50)
@Schema(description = "单位名称-公积金" ) @Schema(description = "公积金单位名称" )
@ExcelProperty("单位名称-公积金" ) @ExcelProperty("公积金单位名称" )
private String unitNameFund; private String unitNameFund;
/** /**
* 单位ID * 单位ID
*/ */
@ExcelAttribute(name = "单位ID", maxLength = 32) @ExcelAttribute(name = "公积金单位id", maxLength = 32)
@Schema(description = "单位ID" ) @Schema(description = "公积金单位id" )
@ExcelProperty("单位ID" ) @ExcelProperty("公积金单位id" )
private String unitIdFund; private String unitIdFund;
/** /**
* 社保户 * 社保户
*/ */
@Length(max = 32, message = "社保户 不能超过32个字符" ) @Length(max = 32, message = "社保户id 不能超过32个字符" )
@ExcelAttribute(name = "社保户", maxLength = 32) @ExcelAttribute(name = "社保户id", maxLength = 32)
@Schema(description = "社保户" ) @Schema(description = "社保户id" )
@ExcelProperty("社保户" ) @ExcelProperty("社保户id" )
private String socialHousehold; private String socialHousehold;
/** /**
* 社保户 * 社保户
......
...@@ -59,6 +59,7 @@ import java.io.InputStream; ...@@ -59,6 +59,7 @@ import java.io.InputStream;
import java.net.URLEncoder; import java.net.URLEncoder;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* 社保公积金查询表 * 社保公积金查询表
* *
...@@ -75,192 +76,191 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe ...@@ -75,192 +76,191 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
private final TSocialLogService tSocialLogService; private final TSocialLogService tSocialLogService;
private final TAuditInfoService tAuditInfoService; private final TAuditInfoService tAuditInfoService;
/** /**
* 社保公积金查询表简单分页查询 * 社保公积金查询表简单分页查询
* @param tSocialFundInfo 社保公积金查询表 *
* @return * @param tSocialFundInfo 社保公积金查询表
*/ * @return
@Override */
public IPage<TSocialFundInfo> getTSocialFundInfoPage(Page<TSocialFundInfo> page, TSocialFundInfoSearchVo tSocialFundInfo){ @Override
return baseMapper.getTSocialFundInfoPage(page,tSocialFundInfo); public IPage<TSocialFundInfo> getTSocialFundInfoPage(Page<TSocialFundInfo> page, TSocialFundInfoSearchVo tSocialFundInfo) {
} return baseMapper.getTSocialFundInfoPage(page, tSocialFundInfo);
}
/** /**
* 社保公积金查询表批量导出 * 社保公积金查询表批量导出
* @return *
*/ * @return
@Override */
public void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo){ @Override
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; public void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo) {
//获取要导出的列表 String fileName = "社保公积金批量导出" + DateUtil.getThisTime() + ".xlsx";
List<TSocialFundInfo> list = new ArrayList<>(); //获取要导出的列表
long count = noPageCountDiy(searchVo); List<TSocialFundInfo> list = new ArrayList<>();
ServletOutputStream out = null; long count = noPageCountDiy(searchVo);
try { ServletOutputStream out = null;
out = response.getOutputStream(); try {
response.setContentType("multipart/form-data"); out = response.getOutputStream();
response.setCharacterEncoding("utf-8"); response.setContentType("multipart/form-data");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(fileName , "UTF-8")); response.setCharacterEncoding("utf-8");
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭 response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(fileName, "UTF-8"));
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list); // 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
ExcelWriter excelWriter = EasyExcel.write(out, TSocialFundInfo.class).build(); ExcelWriter excelWriter = EasyExcel.write(out, TSocialFundInfo.class).build();
int index = 0; int index = 0;
if (count > CommonConstants.ZERO_INT){ if (count > CommonConstants.ZERO_INT) {
for (int i = 0; i <= count; ) { for (int i = 0; i <= count; i += CommonConstants.EXCEL_EXPORT_LIMIT) {
// 获取实际记录 // 获取实际记录
searchVo.setLimitStart(i); searchVo.setLimitStart(i);
searchVo.setLimitEnd(CommonConstants.EXCEL_EXPORT_LIMIT); searchVo.setLimitEnd(CommonConstants.EXCEL_EXPORT_LIMIT);
list = noPageDiy(searchVo); list = noPageDiy(searchVo);
if (Common.isNotNull(list)){ if (Common.isNotNull(list)) {
ExcelUtil<TSocialFundInfo> util = new ExcelUtil<>(TSocialFundInfo.class); ExcelUtil<TSocialFundInfo> util = new ExcelUtil<>(TSocialFundInfo.class);
for (TSocialFundInfo vo:list){ for (TSocialFundInfo vo : list) {
util.convertEntity(vo,null,null,null); util.convertEntity(vo, null, null, null);
} }
} }
if (Common.isNotNull(list)){ if (list != null) {
WriteSheet writeSheet = EasyExcel.writerSheet("社保公积金查询表"+index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("社保公积金查询表" + index).build();
excelWriter.write(list,writeSheet); excelWriter.write(list, writeSheet);
index++; index++;
} list.clear();
i = i + CommonConstants.EXCEL_EXPORT_LIMIT; }
if (Common.isNotNull(list)){ }
list.clear(); } else {
} WriteSheet writeSheet = EasyExcel.writerSheet("社保公积金查询表" + index).build();
} excelWriter.write(list, writeSheet);
}else { }
WriteSheet writeSheet = EasyExcel.writerSheet("社保公积金查询表"+index).build(); out.flush();
excelWriter.write(list,writeSheet); excelWriter.finish();
} } catch (Exception e) {
if (Common.isNotNull(list)){ log.error("执行异常", e);
list.clear(); } finally {
} try {
out.flush(); if (null != out) {
excelWriter.finish(); out.close();
}catch (Exception e){ }
log.error("执行异常" ,e); } catch (IOException e) {
}finally { log.error("执行异常", e);
try { }
if (null != out) { }
out.close(); }
}
} catch (IOException e) {
log.error("执行异常", e);
}
}
}
@Override @Override
public List<TSocialFundInfo> noPageDiy(TSocialFundInfoSearchVo searchVo) { public List<TSocialFundInfo> noPageDiy(TSocialFundInfoSearchVo searchVo) {
LambdaQueryWrapper<TSocialFundInfo> wrapper = buildQueryWrapper(searchVo); LambdaQueryWrapper<TSocialFundInfo> wrapper = buildQueryWrapper(searchVo);
List<String> idList = Common.getList(searchVo.getIds()); List<String> idList = Common.getList(searchVo.getIds());
if (Common.isNotNull(idList)){ if (Common.isNotNull(idList)) {
wrapper.in(TSocialFundInfo::getId,idList); wrapper.in(TSocialFundInfo::getId, idList);
} }
if (searchVo.getLimitStart() >= 0 && searchVo.getLimitEnd() > 0){ if (searchVo.getLimitStart() >= 0 && searchVo.getLimitEnd() > 0) {
wrapper.last(" limit "+ searchVo.getLimitStart() +","+ searchVo.getLimitEnd()); wrapper.last(" limit " + searchVo.getLimitStart() + "," + searchVo.getLimitEnd());
} }
wrapper.orderByDesc(BaseEntity::getCreateTime); wrapper.orderByDesc(BaseEntity::getCreateTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
private Long noPageCountDiy(TSocialFundInfoSearchVo searchVo) { private Long noPageCountDiy(TSocialFundInfoSearchVo searchVo) {
LambdaQueryWrapper<TSocialFundInfo> wrapper = buildQueryWrapper(searchVo); LambdaQueryWrapper<TSocialFundInfo> wrapper = buildQueryWrapper(searchVo);
List<String> idList = Common.getList(searchVo.getIds()); List<String> idList = Common.getList(searchVo.getIds());
if (Common.isNotNull(idList)){ if (Common.isNotNull(idList)) {
wrapper.in(TSocialFundInfo::getId,idList); wrapper.in(TSocialFundInfo::getId, idList);
} }
return baseMapper.selectCount(wrapper); return baseMapper.selectCount(wrapper);
} }
private LambdaQueryWrapper buildQueryWrapper(TSocialFundInfoSearchVo entity){ private LambdaQueryWrapper buildQueryWrapper(TSocialFundInfoSearchVo entity) {
LambdaQueryWrapper<TSocialFundInfo> wrapper = Wrappers.lambdaQuery(); LambdaQueryWrapper<TSocialFundInfo> wrapper = Wrappers.lambdaQuery();
if (ArrayUtil.isNotEmpty(entity.getCreateTimes())) { if (ArrayUtil.isNotEmpty(entity.getCreateTimes())) {
wrapper.ge(TSocialFundInfo::getCreateTime, entity.getCreateTimes()[0]) wrapper.ge(TSocialFundInfo::getCreateTime, entity.getCreateTimes()[0])
.le(TSocialFundInfo::getCreateTime, .le(TSocialFundInfo::getCreateTime,
entity.getCreateTimes()[1]); entity.getCreateTimes()[1]);
} }
if (Common.isNotNull(entity.getCreateName())){ if (Common.isNotNull(entity.getCreateName())) {
wrapper.eq(TSocialFundInfo::getCreateName,entity.getCreateName()); wrapper.eq(TSocialFundInfo::getCreateName, entity.getCreateName());
} }
return wrapper; return wrapper;
} }
@Override @Override
public R<List<ErrorMessage>> importDiy(InputStream inputStream) { public R<List<ErrorMessage>> importDiy(InputStream inputStream) {
List<ErrorMessage> errorMessageList = new ArrayList<>(); List<ErrorMessage> errorMessageList = new ArrayList<>();
ExcelUtil<TSocialFundInfoVo> util1 = new ExcelUtil<>(TSocialFundInfoVo.class);; ExcelUtil<TSocialFundInfoVo> util1 = new ExcelUtil<>(TSocialFundInfoVo.class);
// 写法2: ;
// 匿名内部类 不用额外写一个DemoDataListener // 写法2:
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭 // 匿名内部类 不用额外写一个DemoDataListener
try { // 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
EasyExcel.read(inputStream, TSocialFundInfoVo.class, new ReadListener<TSocialFundInfoVo>() { try {
/** EasyExcel.read(inputStream, TSocialFundInfoVo.class, new ReadListener<TSocialFundInfoVo>() {
* 单次缓存的数据量 /**
*/ * 单次缓存的数据量
public static final int BATCH_COUNT = CommonConstants.BATCH_COUNT; */
/** public static final int BATCH_COUNT = CommonConstants.BATCH_COUNT;
*临时存储 /**
*/ *临时存储
private List<TSocialFundInfoVo> cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT); */
private List<TSocialFundInfoVo> cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT);
@Override @Override
public void invoke(TSocialFundInfoVo data, AnalysisContext context) { public void invoke(TSocialFundInfoVo data, AnalysisContext context) {
ReadRowHolder readRowHolder = context.readRowHolder(); ReadRowHolder readRowHolder = context.readRowHolder();
Integer rowIndex = readRowHolder.getRowIndex(); Integer rowIndex = readRowHolder.getRowIndex();
data.setRowIndex(rowIndex+1); data.setRowIndex(rowIndex + 1);
ErrorMessage errorMessage = util1.checkEntity(data, data.getRowIndex()); ErrorMessage errorMessage = util1.checkEntity(data, data.getRowIndex());
if (Common.isNotNull(errorMessage)){ if (Common.isNotNull(errorMessage)) {
errorMessageList.add(errorMessage); errorMessageList.add(errorMessage);
}else { } else {
cachedDataList.add(data); cachedDataList.add(data);
} }
if (cachedDataList.size() >= BATCH_COUNT) { if (cachedDataList.size() >= BATCH_COUNT) {
saveData(); saveData();
// 存储完成清理 list // 存储完成清理 list
cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT); cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT);
} }
} }
@Override
public void doAfterAllAnalysed(AnalysisContext context) {
saveData();
}
/** @Override
* 加上存储数据库 public void doAfterAllAnalysed(AnalysisContext context) {
*/ saveData();
private void saveData() { }
log.info("{}条数据,开始存储数据库!", cachedDataList.size());
importTSocialFundInfo(cachedDataList,errorMessageList);
log.info("存储数据库成功!");
}
}).sheet().doRead();
}catch (Exception e){
log.error(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR,e);
return R.failed(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR);
}
return R.ok(errorMessageList);
}
private void importTSocialFundInfo(List<TSocialFundInfoVo> excelVOList, List<ErrorMessage> errorMessageList) {
// 个性化校验逻辑
ErrorMessage errorMsg;
// 执行数据插入操作 组装
for (int i = 0; i < excelVOList.size(); i++) {
TSocialFundInfoVo excel = excelVOList.get(i);
// 数据合法情况 TODO
// 插入 /**
insertExcel(excel); * 加上存储数据库
errorMessageList.add(new ErrorMessage(excel.getRowIndex(),CommonConstants.SAVE_SUCCESS)); */
} private void saveData() {
} log.info("{}条数据,开始存储数据库!", cachedDataList.size());
/** importTSocialFundInfo(cachedDataList, errorMessageList);
* 插入excel bad record log.info("存储数据库成功!");
*/ }
private void insertExcel(TSocialFundInfoVo excel) { }).sheet().doRead();
TSocialFundInfo insert = new TSocialFundInfo(); } catch (Exception e) {
BeanUtil.copyProperties(excel, insert); log.error(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR, e);
this.save(insert); return R.failed(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR);
} }
return R.ok(errorMessageList);
}
private void importTSocialFundInfo(List<TSocialFundInfoVo> excelVOList, List<ErrorMessage> errorMessageList) {
// 个性化校验逻辑
ErrorMessage errorMsg;
// 执行数据插入操作 组装
for (int i = 0; i < excelVOList.size(); i++) {
TSocialFundInfoVo excel = excelVOList.get(i);
// 数据合法情况 TODO
// 插入
insertExcel(excel);
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), CommonConstants.SAVE_SUCCESS));
}
}
/**
* 插入excel bad record
*/
private void insertExcel(TSocialFundInfoVo excel) {
TSocialFundInfo insert = new TSocialFundInfo();
BeanUtil.copyProperties(excel, insert);
this.save(insert);
}
@Override @Override
public TSocialFundInfoDetailVo getDetailById(String id) { public TSocialFundInfoDetailVo getDetailById(String id) {
......
...@@ -85,10 +85,6 @@ ...@@ -85,10 +85,6 @@
select="com.yifu.cloud.plus.v1.yifu.social.mapper.SysPayProportionMapper.selectByPrimaryId" column="id"> select="com.yifu.cloud.plus.v1.yifu.social.mapper.SysPayProportionMapper.selectByPrimaryId" column="id">
</collection> </collection>
</resultMap> </resultMap>
<sql id="base_column_list">
SELECT
a.*
</sql>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
a.ID, a.ID,
a.PROVINCE, a.PROVINCE,
...@@ -328,7 +324,8 @@ ...@@ -328,7 +324,8 @@
</sql> </sql>
<!--sysBaseSetInfo简单分页查询--> <!--sysBaseSetInfo简单分页查询-->
<select id="getSysBaseSetInfoPage" resultMap="sysBaseSetInfoMap"> <select id="getSysBaseSetInfoPage" resultMap="sysBaseSetInfoMap">
<include refid="Base_Column_List"/> SELECT
<include refid="Base_Column_List"/>
FROM sys_base_set_info a FROM sys_base_set_info a
<where> <where>
1=1 1=1
...@@ -338,7 +335,8 @@ ...@@ -338,7 +335,8 @@
</select> </select>
<!--sysBaseSetInfo简单查询--> <!--sysBaseSetInfo简单查询-->
<select id="getAllByEntity" resultMap="sysBaseSetInfoMap"> <select id="getAllByEntity" resultMap="sysBaseSetInfoMap">
<include refid="base_column_list"/> SELECT
<include refid="Base_column_list"/>
FROM sys_base_set_info a FROM sys_base_set_info a
<where> <where>
1=1 1=1
...@@ -348,7 +346,8 @@ ...@@ -348,7 +346,8 @@
<!--获取对应户名称的公积金基数信息--> <!--获取对应户名称的公积金基数信息-->
<select id="getFundBaseSet" resultMap="sysBaseSetInfoMap"> <select id="getFundBaseSet" resultMap="sysBaseSetInfoMap">
<include refid="base_column_list"/> SELECT
<include refid="Base_column_list"/>
FROM sys_base_set_info a FROM sys_base_set_info a
<where> <where>
1=1 1=1
...@@ -369,7 +368,8 @@ ...@@ -369,7 +368,8 @@
<!--sysBaseSetInfo不分页查询--> <!--sysBaseSetInfo不分页查询-->
<select id="getSysBaseSetInfoNoPage" resultMap="sysBaseSetInfoMap"> <select id="getSysBaseSetInfoNoPage" resultMap="sysBaseSetInfoMap">
<include refid="base_column_list"/> SELECT
<include refid="Base_column_list"/>
FROM sys_base_set_info a FROM sys_base_set_info a
<where> <where>
1=1 1=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment