|
|
@ -8,6 +8,7 @@ import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
|
|
|
import cn.iocoder.yudao.module.archives.dal.dataobject.packages.PackagesDO;
|
|
|
|
import cn.iocoder.yudao.module.archives.dal.dataobject.packages.PackagesDO;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import cn.iocoder.yudao.module.archives.controller.admin.packages.vo.*;
|
|
|
|
import cn.iocoder.yudao.module.archives.controller.admin.packages.vo.*;
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 装册 Mapper
|
|
|
|
* 装册 Mapper
|
|
|
@ -77,4 +78,8 @@ public interface PackagesMapper extends BaseMapperX<PackagesDO> {
|
|
|
|
.orderByDesc(PackagesDO::getId));
|
|
|
|
.orderByDesc(PackagesDO::getId));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Select("SELECT id, depot_id, depot_name, cabinet_id, cabinet_name, record_id, company_id, company, year, period, manege_name, case_num, catalog_num, files_num, flow_id, status, remark, package_time, dept_id, user_id, dept_name, attr1, attr2, attr3, attr4, create_by, code_url, code_value, package_num "
|
|
|
|
|
|
|
|
+" FROM archives_package WHERE code_value = #{codeValue} ORDER BY create_time DESC LIMIT 1")
|
|
|
|
|
|
|
|
PackagesDO getByCodeValue(String codeValue);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|