| | |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * 数简.渐变颜色表实体类 |
| | | * |
| | | * @author WWW |
| | | * @date 2023-08-31 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | @SuppressWarnings("ALL") |
| | | public class GradientColorTableEntity implements Serializable { |
| | | private static final long serialVersionUID = 3436664443231697504L; |
| | | |
| | |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * 数简.创建服务-结果类 |
| | | * @author WWW |
| | | * @date 2023-08-30 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class ServiceResultEntity implements Serializable { |
| | | private static final long serialVersionUID = -8647553888787072121L; |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 数简.任务结果实体类 |
| | | * |
| | | * @author WWW |
| | | * @date 2023-09-12 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class TaskResultEntity implements Serializable { |
| | | private static final long serialVersionUID = -6420150955559673365L; |
| | |
| | | public Result() { |
| | | } |
| | | |
| | | /** |
| | | * 任务名称 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | |
| | | */ |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 任务编号 |
| | | */ |
| | | private Integer data_id; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | private String description; |
| | | |
| | | /** |
| | | * 进度 |
| | | */ |
| | | private Double process; |
| | | |
| | | /** |
| | | * 执行的命令 |
| | | */ |
| | | private Integer command; |
| | | |
| | | public String getName() { |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 角色-图层 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class RoleLayerEntity implements Serializable { |
| | | private static final long serialVersionUID = -773018130926889472L; |
| | | |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoagenotdetermined |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoagenotdeterminedMapper extends GeomBaseMapper<GeoagenotdeterminedEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoagenotdeterminedan |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoagenotdeterminedanMapper extends GeomBaseMapper<GeoagenotdeterminedanEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoagenotdeterminedni |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoagenotdeterminedniMapper extends GeomBaseMapper<GeoagenotdeterminedniEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoalbedofeaturepoint |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoalbedofeaturepointMapper extends GeomBaseMapper<GeoalbedofeaturepointEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoalkalinerocksuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoalkalinerocksuiteMapper extends GeomBaseMapper<GeoalkalinerocksuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geocapeannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeocapeannotationMapper extends GeomBaseMapper<GeocapeannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geocliffannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeocliffannotationMapper extends GeomBaseMapper<GeocliffannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geocopernicanperiod |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeocopernicanperiodMapper extends GeomBaseMapper<GeocopernicanperiodEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geocrater |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeocraterMapper extends GeomBaseMapper<GeocraterEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geodome |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeodomeMapper extends GeomBaseMapper<GeodomeEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoferrousnoritesuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoferrousnoritesuiteMapper extends GeomBaseMapper<GeoferrousnoritesuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geograben |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeograbenMapper extends GeomBaseMapper<GeograbenEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoimpactfracture |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoimpactfractureMapper extends GeomBaseMapper<GeoimpactfractureEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geokreepbasalt |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeokreepbasaltMapper extends GeomBaseMapper<GeokreepbasaltEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geokreeprocksuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeokreeprocksuiteMapper extends GeomBaseMapper<GeokreeprocksuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolobatescarp |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolobatescarpMapper extends GeomBaseMapper<GeolobatescarpEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarlacusannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarlacusannotationMapper extends GeomBaseMapper<GeolunarlacusannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarmarebasalt |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarmarebasaltMapper extends GeomBaseMapper<GeolunarmarebasaltEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geomagnesianrocksuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeomagnesianrocksuiteMapper extends GeomBaseMapper<GeomagnesianrocksuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geomascon |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeomasconMapper extends GeomBaseMapper<GeomasconEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geonectarian |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeonectarianMapper extends GeomBaseMapper<GeonectarianEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geonectarianbasinconstruction |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeonectarianbasinconstructionMapper extends GeomBaseMapper<GeonectarianbasinconstructionEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geooceanusannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeooceanusannotationMapper extends GeomBaseMapper<GeooceanusannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geopeakannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeopeakannotationMapper extends GeomBaseMapper<GeopeakannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geopureanorthosite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeopureanorthositeMapper extends GeomBaseMapper<GeopureanorthositeEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Georicholivinerocksuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoricholivinerocksuiteMapper extends GeomBaseMapper<GeoricholivinerocksuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geosectionline |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeosectionlineMapper extends GeomBaseMapper<GeosectionlineEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoshallowfault |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoshallowfaultMapper extends GeomBaseMapper<GeoshallowfaultEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geosiliceousvolcanicrock |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeosiliceousvolcanicrockMapper extends GeomBaseMapper<GeosiliceousvolcanicrockEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoundividedimbriaperiod |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoundividedimbriaperiodMapper extends GeomBaseMapper<GeoundividedimbriaperiodEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geowrinkleridgeannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeowrinkleridgeannotationMapper extends GeomBaseMapper<GeowrinkleridgeannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lobatescarps180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lobatescarps180Mapper extends GeomBaseMapper<Lobatescarps180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lola81ssppsrstereographic10km2 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lola81ssppsrstereographic10km2Mapper extends GeomBaseMapper<Lola81ssppsrstereographic10km2Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lrolrocedrnacfootprints |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface LrolrocedrnacfootprintsMapper extends GeomBaseMapper<LrolrocedrnacfootprintsEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lunarpitlocations180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lunarpitlocations180Mapper extends GeomBaseMapper<Lunarpitlocations180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lunarplacename |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface LunarplacenameMapper extends GeomBaseMapper<LunarplacenameEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Nacdtms180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Nacdtms180Mapper extends GeomBaseMapper<Nacdtms180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Wrinkleridges180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Wrinkleridges180Mapper extends GeomBaseMapper<Wrinkleridges180Entity> { |
| | | } |
| | |
| | | import java.sql.Timestamp; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 数据申请 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface ApplyMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param uname 用户名 |
| | | * @param status 审核状态 |
| | | * @param start 开始时间 |
| | | * @param end 结束时间 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String uname, Integer status, Timestamp start, Timestamp end); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param uname 用户名 |
| | | * @param status 审核状态 |
| | | * @param start 开始时间 |
| | | * @param end 结束时间 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<ApplyEntity> selectByPage(Integer userid, String uname, Integer status, Timestamp start, Timestamp end, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<ApplyEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public ApplyEntity selectById(int id); |
| | | |
| | | /** |
| | | * 根据单位编码查询用户 |
| | | * |
| | | * @param depcode 单位编码 |
| | | * @return 用户 |
| | | */ |
| | | public UserEntity selectUserByDepcode(String depcode); |
| | | |
| | | /** |
| | | * 查询待审核数 |
| | | * |
| | | * @param userid 用户ID |
| | | * @return 待审核数 |
| | | */ |
| | | public Integer selectSubmits(Integer userid); |
| | | |
| | | /** |
| | | * 查询流程 |
| | | * |
| | | * @param applyid 数据申请ID |
| | | * @return 数据流程 |
| | | */ |
| | | public List<FlowEntity> selectFlows(Integer applyid); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(ApplyEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<ApplyEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(ApplyEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<ApplyEntity> list); |
| | | |
| | | /** |
| | | * 废弃申请 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param id 数据申请ID |
| | | * @return 行数 |
| | | */ |
| | | public Integer updateForDiscard(Integer userid, Integer id); |
| | | |
| | | /** |
| | | * 重新提交 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param id 数据申请ID |
| | | * @return 行数 |
| | | */ |
| | | public Integer updateForResubmit(Integer userid, Integer id); |
| | | |
| | | /** |
| | | * 提交流程 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param applyid 申请流程ID |
| | | * @param flowId 申请流程ID |
| | | * @return 行数 |
| | | */ |
| | | public Integer updateForSubmit(Integer userid, Integer applyid, Integer flowId); |
| | | |
| | | /** |
| | | * 打回流程 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param applyid 申请流程ID |
| | | * @param flowId 申请流程ID |
| | | * @return 行数 |
| | | */ |
| | | public Integer updateForReject(Integer userid, Integer applyid, Integer flowId); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 申请流程 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface FlowMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param userid 用户ID |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(Integer userid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param userid 用户ID |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<FlowEntity> selectByPage(Integer userid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<FlowEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public FlowEntity selectById(int id); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(FlowEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<FlowEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(FlowEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<FlowEntity> list); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 标绘 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface MarkMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param name 名称 |
| | | * @param userid 用户ID |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String name, Integer userid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param userid 用户ID |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<MarkEntity> selectByPage(String name, Integer userid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @param userid |
| | | * @return |
| | | */ |
| | | public List<MarkEntity> selectAll(Integer userid); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @param userid |
| | | * @return |
| | | */ |
| | | public MarkEntity selectById(int id, Integer userid); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(MarkEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<MarkEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @param userid |
| | | * @return |
| | | */ |
| | | public Integer delete(int id, Integer userid); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @param userid |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids, Integer userid); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(MarkEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<MarkEntity> list); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模型 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface ModelMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param layerid 图层ID |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(Integer layerid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param layerid 图层ID |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<ModelEntity> selectByPage(Integer layerid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<ModelEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public ModelEntity selectById(int id); |
| | | |
| | | /** |
| | | * 根据Guid查询模型 |
| | | * |
| | | * @param layerid |
| | | * @param modelid |
| | | * @return |
| | | */ |
| | | public ModelEntity selectModelByGuid(int layerid, String modelid); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(ModelEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<ModelEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(ModelEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<ModelEntity> list); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 管道分析映射类 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface PipelineMapper { |
| | | /** |
| | | * 查询管道 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | | public List<PipelineEntity> selectPipelines(String name); |
| | | |
| | | /** |
| | | * 查询管段 |
| | | * |
| | | * @return 管线实体类集合 |
| | | */ |
| | | public List<PipelineEntity> selectSegNames(); |
| | | |
| | | /** |
| | | * 查询管线分析 |
| | | * |
| | | * @param tab 表名 |
| | | * @param gid ID |
| | | * @return 管线实体类集合 |
| | | */ |
| | | public List<PipelineEntity> selectPipeAnalysis(String tab, Integer gid); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 附件 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface AttachMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param name 文件名 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String name); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 文件名 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<AttachEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public AttachEntity selectById(int id); |
| | | |
| | | /** |
| | | * 根据Guid查询 |
| | | * |
| | | * @param guid |
| | | * @return |
| | | */ |
| | | public AttachEntity selectByGuid(String guid); |
| | | |
| | | /** |
| | | * 根据Guid数组查询 |
| | | * |
| | | * @param guids |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectByGuids(List<String> guids); |
| | | |
| | | /** |
| | | * 根据表名和GUID查询 |
| | | * |
| | | * @param tab |
| | | * @param tabGuid |
| | | * @param guid |
| | | * @return |
| | | */ |
| | | public AttachEntity selectByTabAndGuid(String tab, String tabGuid, String guid); |
| | | |
| | | /** |
| | | * 根据表名和GUID数组查询 |
| | | * |
| | | * @param tab |
| | | * @param guids |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectByTabGuids(String tab, List<String> guids); |
| | | |
| | | /** |
| | | * 根据表和GUID查询 |
| | | * |
| | | * @param tab |
| | | * @param guid |
| | | * @return |
| | | */ |
| | | public List<AttachEntity> selectByTab(String tab, String guid); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(AttachEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<AttachEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(AttachEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<AttachEntity> list); |
| | | |
| | | /** |
| | | * 查询FME日志 |
| | | * |
| | | * @param tabs |
| | | * @return |
| | | */ |
| | | public List<FmeLogEntity> selectFmeLogs(String tabs); |
| | | |
| | | /** |
| | | * 更新FME日志 |
| | | * |
| | | * @param id ID |
| | | * @return |
| | | */ |
| | | public Integer updateFmeLog(Integer id); |
| | | |
| | | /** |
| | | * 根据元数据名称插入附件 |
| | | * |
| | | * @param tab |
| | | * @param tabGuid |
| | | * @param metaName |
| | | * @param dirid |
| | | * @return |
| | | */ |
| | | public Integer insertAttachByMeta(String tab, String tabGuid, String metaName, String dirid); |
| | | } |