初始化提交
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 账户管理接口鉴权数据访问接口。
|
||||
*
|
||||
* <p>该 Mapper 只读取现有在线用户记录,不参与登录、账户资料或角色绑定业务。</p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface AccountManagementAuthorizationMapper {
|
||||
|
||||
/**
|
||||
* 查询当前在线会话关联账户是否允许继续访问系统。
|
||||
*
|
||||
* <p>没有在线记录时返回 {@code null};状态表尚未初始化的旧账户按可用处理;
|
||||
* 已停用或已合并账户返回 {@code 0},正常账户返回 {@code 1}。</p>
|
||||
*
|
||||
* @param sessionId 当前 Web 会话编号
|
||||
* @return {@code 1} 表示账户可用,{@code 0} 表示账户不可用,
|
||||
* {@code null} 表示没有在线记录
|
||||
*/
|
||||
Integer selectAccountAccessStatusBySessionId(
|
||||
@Param("sessionId") String sessionId);
|
||||
|
||||
/**
|
||||
* 根据当前 Web 会话编号查询在线用户的角色类别。
|
||||
*
|
||||
* @param sessionId 当前 Web 会话编号
|
||||
* @return 在线角色类别;会话没有对应在线记录时返回 {@code null}
|
||||
*/
|
||||
String selectRoleCategoryBySessionId(
|
||||
@Param("sessionId") String sessionId);
|
||||
|
||||
/**
|
||||
* 根据当前 Web 会话编号删除失效的在线用户记录。
|
||||
*
|
||||
* @param sessionId 当前 Web 会话编号
|
||||
* @return 实际删除的在线记录数量
|
||||
*/
|
||||
int deleteOnlineSessionBySessionId(
|
||||
@Param("sessionId") String sessionId);
|
||||
}
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
<?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.roomroot.jwgl.mapper.AccountManagementAuthorizationMapper">
|
||||
|
||||
<!--
|
||||
第一步:根据 Servlet 会话编号定位在线用户记录。
|
||||
第二步:使用登录账号关联账户管理状态;无法关联登录信息的旧在线记录保持原有访问方式。
|
||||
第三步:状态表尚未初始化的旧账户按启用处理,避免数据库升级期间误伤现有用户。
|
||||
第四步:明确拒绝已停用或已经合并到其他账户的在线身份。
|
||||
查询没有返回行表示当前 Servlet 会话没有对应在线用户记录。
|
||||
-->
|
||||
<select id="selectAccountAccessStatusBySessionId"
|
||||
resultType="java.lang.Integer">
|
||||
SELECT CASE
|
||||
WHEN account."编号" IS NULL THEN 1
|
||||
WHEN status."登录信息编号" IS NULL THEN 1
|
||||
WHEN status."启用状态" = 1
|
||||
AND status."合并目标登录信息编号" IS NULL
|
||||
THEN 1
|
||||
ELSE 0
|
||||
END
|
||||
FROM "MemberOnlineInfo" moi
|
||||
LEFT JOIN "登录信息表" account
|
||||
ON LOWER(TRIM(account."账号"))
|
||||
= LOWER(TRIM(moi."账号"))
|
||||
LEFT JOIN "账户状态表" status
|
||||
ON status."登录信息编号" = account."编号"
|
||||
WHERE moi."SessionId" = #{sessionId}
|
||||
</select>
|
||||
|
||||
<!--
|
||||
第一步:根据 Servlet 会话编号定位现有在线用户记录。
|
||||
第二步:通过登录账号关联账户和账户管理状态。
|
||||
第三步:只返回启用且未被合并账户的角色类别。
|
||||
SessionId 是 MemberOnlineInfo 的主键,因此最多返回一条记录。
|
||||
-->
|
||||
<select id="selectRoleCategoryBySessionId" resultType="string">
|
||||
SELECT moi."角色类别"
|
||||
FROM "MemberOnlineInfo" moi
|
||||
INNER JOIN "登录信息表" account
|
||||
ON LOWER(TRIM(account."账号"))
|
||||
= LOWER(TRIM(moi."账号"))
|
||||
LEFT JOIN "账户状态表" status
|
||||
ON status."登录信息编号" = account."编号"
|
||||
WHERE moi."SessionId" = #{sessionId}
|
||||
AND (
|
||||
status."登录信息编号" IS NULL
|
||||
OR status."启用状态" = 1
|
||||
)
|
||||
AND status."合并目标登录信息编号" IS NULL
|
||||
</select>
|
||||
|
||||
<!--
|
||||
账户不可用时删除当前会话对应的在线用户记录,
|
||||
防止后续请求继续把该会话识别为有效登录身份。
|
||||
-->
|
||||
<delete id="deleteOnlineSessionBySessionId">
|
||||
DELETE FROM "MemberOnlineInfo"
|
||||
WHERE "SessionId" = #{sessionId}
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
+371
@@ -0,0 +1,371 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.SSOUserAuthSession;
|
||||
import com.roomroot.jwgl.entity.DBVersion;
|
||||
import com.roomroot.jwgl.entity.accountmanagement.AccountRecord;
|
||||
import com.roomroot.jwgl.entity.accountmanagement.AccountRoleRecord;
|
||||
import com.roomroot.jwgl.vo.accountmanagement.AccountLoginHistoryVO;
|
||||
import com.roomroot.jwgl.vo.accountmanagement.AccountRoleOptionVO;
|
||||
import com.roomroot.jwgl.vo.accountmanagement.AccountRoleVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 账户管理数据访问接口。
|
||||
*/
|
||||
@Mapper
|
||||
public interface AccountManagementMapper {
|
||||
|
||||
/**
|
||||
* 分页查询账户基础信息和管理状态。
|
||||
*
|
||||
* <p>查询条件和稳定排序在数据库中完成,分页语句由项目现有的
|
||||
* MyBatis-Plus 达梦分页拦截器统一生成。</p>
|
||||
*
|
||||
* @param page MyBatis-Plus 分页参数
|
||||
* @param keyword 账户或角色关键字
|
||||
* @param enabled 账户启用状态
|
||||
* @param roleType 角色类型
|
||||
* @param targetId 角色身份编号
|
||||
* @return 当前页账户持久化记录
|
||||
*/
|
||||
Page<AccountRecord> selectAccountPage(
|
||||
Page<AccountRecord> page,
|
||||
@Param("keyword") String keyword,
|
||||
@Param("enabled") Boolean enabled,
|
||||
@Param("roleType") String roleType,
|
||||
@Param("targetId") String targetId);
|
||||
|
||||
/**
|
||||
* 根据编号查询账户基础信息和管理状态。
|
||||
*
|
||||
* @param id 登录信息编号
|
||||
* @return 账户持久化记录
|
||||
*/
|
||||
AccountRecord selectAccountById(@Param("id") String id);
|
||||
|
||||
/**
|
||||
* 根据登录账号查询账户及其管理状态。
|
||||
*
|
||||
* <p>该查询必须返回密码摘要,供业务层使用 PasswordEncoder 校验原始密码;
|
||||
* 密码摘要只在内部 AccountRecord 中流转,不直接返回页面。</p>
|
||||
*
|
||||
* @param loginName 登录账号
|
||||
* @return 匹配的账户记录;不存在时返回 null
|
||||
*/
|
||||
AccountRecord selectAccountByLoginName(
|
||||
@Param("loginName") String loginName);
|
||||
|
||||
/**
|
||||
* 查询本地密码登录使用的系统安全参数。
|
||||
*
|
||||
* <p>只读取允许密码尝试次数和用户锁定分钟数,
|
||||
* 不把整个系统版本配置引入账户管理业务。</p>
|
||||
*
|
||||
* @return 最新系统版本记录中的登录安全参数;没有配置时返回 null
|
||||
*/
|
||||
DBVersion selectLoginSecurityPolicy();
|
||||
|
||||
/**
|
||||
* 统计同名登录账号。
|
||||
*
|
||||
* @param loginName 登录账号
|
||||
* @param excludeId 修改时需要排除的当前账户编号
|
||||
* @return 同名账号数量
|
||||
*/
|
||||
int countByLoginName(@Param("loginName") String loginName,
|
||||
@Param("excludeId") String excludeId);
|
||||
|
||||
/**
|
||||
* 统计同名统一账号。
|
||||
*
|
||||
* @param unifiedAccount 统一账号
|
||||
* @param excludeId 修改时需要排除的当前账户编号
|
||||
* @return 同名统一账号数量
|
||||
*/
|
||||
int countByUnifiedAccount(
|
||||
@Param("unifiedAccount") String unifiedAccount,
|
||||
@Param("excludeId") String excludeId);
|
||||
|
||||
/**
|
||||
* 新增登录账户。
|
||||
*
|
||||
* @param account 账户持久化记录
|
||||
* @return 影响行数
|
||||
*/
|
||||
int insertAccount(@Param("account") AccountRecord account);
|
||||
|
||||
/**
|
||||
* 修改账户基本资料,不修改密码、状态和登录统计。
|
||||
*
|
||||
* @param account 账户持久化记录
|
||||
* @return 影响行数
|
||||
*/
|
||||
int updateAccount(@Param("account") AccountRecord account);
|
||||
|
||||
/**
|
||||
* 重置账户密码并清除临时登录失败锁定信息。
|
||||
*
|
||||
* @param id 登录信息编号
|
||||
* @param password 重置后的 BCrypt 密码摘要
|
||||
* @return 影响行数
|
||||
*/
|
||||
int resetPassword(@Param("id") String id,
|
||||
@Param("password") String password);
|
||||
|
||||
/**
|
||||
* 原子累计一次本地密码登录失败。
|
||||
*
|
||||
* <p>失败次数直接在数据库当前值上加一,避免同一账户并发登录时
|
||||
* 由业务层先读后写造成失败次数丢失。</p>
|
||||
*
|
||||
* @param id 登录信息编号
|
||||
* @param failedAt 本次登录失败时间
|
||||
* @return 影响行数
|
||||
*/
|
||||
int recordLoginFailure(
|
||||
@Param("id") String id,
|
||||
@Param("failedAt") LocalDateTime failedAt);
|
||||
|
||||
/**
|
||||
* 清除已经超过锁定期限的连续登录失败状态。
|
||||
*
|
||||
* <p>更新条件同时检查失败次数和失败时间,避免并发登录请求
|
||||
* 把另一个请求刚刚写入的新失败状态错误清除。</p>
|
||||
*
|
||||
* @param id 登录信息编号
|
||||
* @param allowedAttempts 允许密码尝试次数
|
||||
* @param expiredBefore 此时间及以前的锁定状态已经到期
|
||||
* @return 影响行数
|
||||
*/
|
||||
int clearExpiredLoginFailureState(
|
||||
@Param("id") String id,
|
||||
@Param("allowedAttempts") Integer allowedAttempts,
|
||||
@Param("expiredBefore") LocalDateTime expiredBefore);
|
||||
|
||||
/**
|
||||
* 记录一次成功登录并清除连续失败状态。
|
||||
*
|
||||
* @param id 登录信息编号
|
||||
* @param loginAt 本次登录成功时间
|
||||
* @return 影响行数
|
||||
*/
|
||||
int recordLoginSuccess(
|
||||
@Param("id") String id,
|
||||
@Param("loginAt") LocalDateTime loginAt);
|
||||
|
||||
/**
|
||||
* 写入一条成功登录历史记录。
|
||||
*
|
||||
* @param id 登录记录编号
|
||||
* @param accountId 登录信息编号
|
||||
* @param loginAt 登录成功时间
|
||||
* @param ipAddress 登录请求来源 IP
|
||||
* @param intranetIpAddress 客户端内网 IP;无法取得时为空
|
||||
* @param transactionId 本次登录事务标识
|
||||
* @return 影响行数
|
||||
*/
|
||||
int insertLoginHistory(
|
||||
@Param("id") String id,
|
||||
@Param("accountId") String accountId,
|
||||
@Param("loginAt") LocalDateTime loginAt,
|
||||
@Param("ipAddress") String ipAddress,
|
||||
@Param("intranetIpAddress") String intranetIpAddress,
|
||||
@Param("transactionId") String transactionId);
|
||||
|
||||
/**
|
||||
* 分页查询指定账户的成功登录历史。
|
||||
*
|
||||
* @param page MyBatis-Plus 分页参数
|
||||
* @param accountId 当前登录账户编号
|
||||
* @return 按登录时间倒序排列的当前页登录记录
|
||||
*/
|
||||
Page<AccountLoginHistoryVO> selectLoginHistoryPage(
|
||||
Page<AccountLoginHistoryVO> page,
|
||||
@Param("accountId") String accountId);
|
||||
|
||||
/**
|
||||
* 根据登录账号删除账户的全部在线会话记录。
|
||||
*
|
||||
* @param loginName 登录账号
|
||||
* @return 删除的在线会话数量
|
||||
*/
|
||||
int deleteOnlineSessionsByLoginName(
|
||||
@Param("loginName") String loginName);
|
||||
|
||||
/**
|
||||
* 根据当前 Servlet 会话删除对应的在线记录。
|
||||
*
|
||||
* @param sessionId Servlet 会话编号
|
||||
* @return 删除的在线会话数量
|
||||
*/
|
||||
int deleteOnlineSessionBySessionId(
|
||||
@Param("sessionId") String sessionId);
|
||||
|
||||
/**
|
||||
* 新增当前 Servlet 会话对应的在线记录。
|
||||
*
|
||||
* @param sessionId Servlet 会话编号
|
||||
* @param loginName 登录账号
|
||||
* @param userName 用户姓名
|
||||
* @param unit 在线用户所属单位或数据范围
|
||||
* @param roleCategory SSO 角色类别
|
||||
* @param ipAddress 当前请求 IP
|
||||
* @param startAccessTime 开始访问时间
|
||||
* @param lastAccessTime 最后访问时间
|
||||
* @param lastAccessPath 最后访问路径
|
||||
* @return 影响行数
|
||||
*/
|
||||
int insertOnlineSession(
|
||||
@Param("sessionId") String sessionId,
|
||||
@Param("loginName") String loginName,
|
||||
@Param("userName") String userName,
|
||||
@Param("unit") String unit,
|
||||
@Param("roleCategory") String roleCategory,
|
||||
@Param("ipAddress") String ipAddress,
|
||||
@Param("startAccessTime") LocalDateTime startAccessTime,
|
||||
@Param("lastAccessTime") LocalDateTime lastAccessTime,
|
||||
@Param("lastAccessPath") String lastAccessPath);
|
||||
|
||||
/**
|
||||
* 根据当前 Servlet 会话查询对应的账户编号。
|
||||
*
|
||||
* @param sessionId Servlet 会话编号
|
||||
* @return 当前会话对应的账户编号;没有匹配账户时返回 null
|
||||
*/
|
||||
String selectAccountIdBySessionId(
|
||||
@Param("sessionId") String sessionId);
|
||||
|
||||
/**
|
||||
* 根据会话标识查询统一身份认证会话。
|
||||
*
|
||||
* @param sessionKey SSO 会话标识
|
||||
* @return SSO 会话;不存在时返回 null
|
||||
*/
|
||||
SSOUserAuthSession selectSsoSessionBySessionKey(
|
||||
@Param("sessionKey") String sessionKey);
|
||||
|
||||
/**
|
||||
* 根据一个或多个 SSO 身份候选值查询本地统一账号。
|
||||
*
|
||||
* <p>查询结果只包含账户解析和状态校验所需字段,
|
||||
* 不读取密码、密码提示答案等敏感信息。</p>
|
||||
*
|
||||
* @param unifiedAccounts SSO 会话中的统一账号候选值
|
||||
* @return 匹配的本地账户
|
||||
*/
|
||||
List<AccountRecord> selectAccountsByUnifiedAccounts(
|
||||
@Param("unifiedAccounts") List<String> unifiedAccounts);
|
||||
|
||||
/**
|
||||
* 统计账户管理状态记录。
|
||||
*
|
||||
* @param accountId 登录信息编号
|
||||
* @return 状态记录数量
|
||||
*/
|
||||
int countAccountStatus(@Param("accountId") String accountId);
|
||||
|
||||
/**
|
||||
* 新增账户管理状态。
|
||||
*
|
||||
* @param account 账户持久化记录
|
||||
* @return 影响行数
|
||||
*/
|
||||
int insertAccountStatus(@Param("account") AccountRecord account);
|
||||
|
||||
/**
|
||||
* 修改账户启停或合并状态。
|
||||
*
|
||||
* @param account 账户持久化记录
|
||||
* @return 影响行数
|
||||
*/
|
||||
int updateAccountStatus(@Param("account") AccountRecord account);
|
||||
|
||||
/**
|
||||
* 查询账户已绑定的全部角色和数据范围。
|
||||
*
|
||||
* @param accountId 登录信息编号
|
||||
* @return 角色绑定列表
|
||||
*/
|
||||
List<AccountRoleVO> selectRolesByAccountId(
|
||||
@Param("accountId") String accountId);
|
||||
|
||||
/**
|
||||
* 批量查询指定账户的全部角色和数据范围。
|
||||
*
|
||||
* @param accountIds 当前页账户编号
|
||||
* @return 带所属账户编号的角色持久化记录
|
||||
*/
|
||||
List<AccountRoleRecord> selectRoleRecordsByAccountIds(
|
||||
@Param("accountIds") List<String> accountIds);
|
||||
|
||||
/**
|
||||
* 分页查询指定角色类型的可选身份。
|
||||
*
|
||||
* <p>关键字筛选、绑定状态筛选、异常重复数据去重和稳定排序均在
|
||||
* 数据库中完成,分页语句由项目现有的 MyBatis-Plus 达梦分页
|
||||
* 拦截器统一生成。</p>
|
||||
*
|
||||
* @param page MyBatis-Plus 分页参数
|
||||
* @param roleType 角色类型
|
||||
* @param keyword 身份编号、名称、数据范围或绑定账号关键字
|
||||
* @param unboundOnly 是否只查询未绑定身份
|
||||
* @param accountId 当前正在配置的账户编号
|
||||
* @return 当前页角色身份选项
|
||||
*/
|
||||
Page<AccountRoleOptionVO> selectRoleOptionPage(
|
||||
Page<AccountRoleOptionVO> page,
|
||||
@Param("roleType") String roleType,
|
||||
@Param("keyword") String keyword,
|
||||
@Param("unboundOnly") Boolean unboundOnly,
|
||||
@Param("accountId") String accountId);
|
||||
|
||||
/**
|
||||
* 查询指定角色类型的可选身份。
|
||||
*
|
||||
* @param roleType 角色类型
|
||||
* @param targetId 指定身份编号;为空时查询该类型全部身份
|
||||
* @return 角色身份选项
|
||||
*/
|
||||
List<AccountRoleOptionVO> selectRoleOptions(
|
||||
@Param("roleType") String roleType,
|
||||
@Param("targetId") String targetId);
|
||||
|
||||
/**
|
||||
* 删除账户在指定角色类型下的全部绑定。
|
||||
*
|
||||
* @param roleType 角色类型
|
||||
* @param accountId 登录信息编号
|
||||
* @return 影响行数
|
||||
*/
|
||||
int deleteRoleBindings(@Param("roleType") String roleType,
|
||||
@Param("accountId") String accountId);
|
||||
|
||||
/**
|
||||
* 写入一条角色身份绑定。
|
||||
*
|
||||
* @param roleType 角色类型
|
||||
* @param targetId 身份编号
|
||||
* @param accountId 登录信息编号
|
||||
* @return 影响行数
|
||||
*/
|
||||
int saveRoleBinding(@Param("roleType") String roleType,
|
||||
@Param("targetId") String targetId,
|
||||
@Param("accountId") String accountId);
|
||||
|
||||
/**
|
||||
* 将指定角色类型下的源账户绑定迁移到目标账户。
|
||||
*
|
||||
* @param roleType 角色类型
|
||||
* @param sourceAccountId 源账户编号
|
||||
* @param targetAccountId 目标账户编号
|
||||
* @return 影响行数
|
||||
*/
|
||||
int moveRoleBindings(@Param("roleType") String roleType,
|
||||
@Param("sourceAccountId") String sourceAccountId,
|
||||
@Param("targetAccountId") String targetAccountId);
|
||||
}
|
||||
+1027
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,19 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.BCKTJXRZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 班次课堂教学日志 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface BCKTJXRZMapper extends BaseMapper<BCKTJXRZ> {
|
||||
|
||||
/**
|
||||
* 分页查询教学日志(支持状态筛选)
|
||||
*/
|
||||
Page<BCKTJXRZ> selectPageList(Page<BCKTJXRZ> page, @Param("cond") BCKTJXRZ cond);
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
<?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.roomroot.jwgl.mapper.BCKTJXRZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.BCKTJXRZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="实施_课程编号" property="sskcbh" />
|
||||
<result column="实施_课程表编号" property="sskcbbh" />
|
||||
<result column="学员队编号" property="xydbh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="日期" property="rq" />
|
||||
<result column="节次" property="jc" />
|
||||
<result column="实际时间安排" property="sjsjap" />
|
||||
<result column="课程科目编号" property="kckmbh" />
|
||||
<result column="教学方法" property="jxff" />
|
||||
<result column="应到人数" property="ydrs" />
|
||||
<result column="实到人数" property="sdrs" />
|
||||
<result column="调停课情况" property="dtkqk" />
|
||||
<result column="授课情况_教学态度" property="skqkjxtd" />
|
||||
<result column="授课情况_教学内容" property="skqkjxnr" />
|
||||
<result column="授课情况_教学方法" property="skqkjxff" />
|
||||
<result column="授课情况_课堂管理" property="skqkktgl" />
|
||||
<result column="授课情况_学习收获" property="skqkxxsh" />
|
||||
<result column="领导专家听查课" property="ldzjtck" />
|
||||
<result column="跟班队干编号" property="gbdgbh" />
|
||||
<result column="教学状态" property="jxzt" />
|
||||
<result column="意见建议" property="yjjy" />
|
||||
<result column="状态" property="zt" />
|
||||
<result column="教务部门反馈意见" property="jwbmfkyj" />
|
||||
<result column="填报学员编号" property="tbxybh" />
|
||||
<result column="核准管理员编号" property="hzglybh" />
|
||||
<result column="教学管理机构编号" property="jxgljgbh" />
|
||||
<result column="与实施计划一致" property="yssjhyz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 实施_课程编号, 实施_课程表编号, 学员队编号, 年度, 日期, 节次, 实际时间安排,
|
||||
课程科目编号, 教学方法, 应到人数, 实到人数, 调停课情况, 授课情况_教学态度,
|
||||
授课情况_教学内容, 授课情况_教学方法, 授课情况_课堂管理, 授课情况_学习收获,
|
||||
领导专家听查课, 跟班队干编号, 教学状态, 意见建议, 状态, 教务部门反馈意见,
|
||||
填报学员编号, 核准管理员编号, 教学管理机构编号, 与实施计划一致
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM "班次课堂教学日志"
|
||||
WHERE 1=1
|
||||
<if test="cond.zt != null and cond.zt != ''">
|
||||
AND 状态 = #{cond.zt}
|
||||
</if>
|
||||
<if test="cond.sskcbh != null and cond.sskcbh != ''">
|
||||
AND 实施_课程编号 = #{cond.sskcbh}
|
||||
</if>
|
||||
<if test="cond.nd != null">
|
||||
AND 年度 = #{cond.nd}
|
||||
</if>
|
||||
ORDER BY 日期 DESC, 节次 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.BCKTJXRZSKJY;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BCKTJXRZSKJYMapper extends BaseMapper<BCKTJXRZSKJY> {}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?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.roomroot.jwgl.mapper.BCKTJXRZSKJYMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.BCKTJXRZSKJY">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="班次课堂教学日志_编号" property="bcktjxrzbh" />
|
||||
<result column="辅助教员编号" property="fzjybh" />
|
||||
<result column="主教员" property="zjy" />
|
||||
<result column="年度" property="nd" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 班次课堂教学日志_编号, 辅助教员编号, 主教员, 年度
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.BZLB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 保障类别 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface BZLBMapper extends BaseMapper<BZLB> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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.roomroot.jwgl.mapper.BZLBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.BZLB">
|
||||
<id column="编号" property="bh"/>
|
||||
<result column="名称" property="mc"/>
|
||||
<result column="部门编号" property="bmbh"/>
|
||||
<result column="停用" property="ty"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 部门编号, 停用
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.BZTGMX;
|
||||
import com.roomroot.jwgl.vo.courserunning.TeachingSupportResourceVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 保障提供明细 Mapper。
|
||||
* <p>
|
||||
* 提供保障资源库(保障提供明细)的查询能力,支持按保障类别筛选。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface BZTGMXMapper extends BaseMapper<BZTGMX> {
|
||||
|
||||
/**
|
||||
* 查询保障提供资源列表。
|
||||
* <p>
|
||||
* 关联保障类别表获取类别名称,支持按保障类别编号筛选,
|
||||
* 仅返回未停用的保障提供明细。
|
||||
* </p>
|
||||
*
|
||||
* @param bzlbbh 保障类别编号,为空时查询全部
|
||||
* @return 保障提供资源列表
|
||||
*/
|
||||
List<TeachingSupportResourceVO> selectResourceList(@Param("bzlbbh") String bzlbbh);
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?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.roomroot.jwgl.mapper.BZTGMXMapper">
|
||||
|
||||
<!-- 保障提供资源列表结果映射 -->
|
||||
<resultMap id="TeachingSupportResourceMap" type="com.roomroot.jwgl.vo.courserunning.TeachingSupportResourceVO">
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="单位" property="dw"/>
|
||||
<result column="保障类别编号" property="bzlbbh"/>
|
||||
<result column="保障类别名称" property="zzlmc"/>
|
||||
<result column="停用" property="ty"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询保障提供资源列表 -->
|
||||
<select id="selectResourceList" resultMap="TeachingSupportResourceMap">
|
||||
SELECT
|
||||
a.编号 AS 保障提供明细编号,
|
||||
a.名称 AS 保障提供明细名称,
|
||||
a.单位,
|
||||
a.保障类别编号,
|
||||
l.名称 AS 保障类别名称,
|
||||
a.停用,
|
||||
a.备注
|
||||
FROM "保障提供明细" a
|
||||
LEFT JOIN "保障类别" l ON a.保障类别编号 = l.编号
|
||||
WHERE a.停用 = 0
|
||||
<if test="bzlbbh != null and bzlbbh != ''">
|
||||
AND a.保障类别编号 = #{bzlbbh}
|
||||
</if>
|
||||
ORDER BY a.保障类别编号, a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JXLB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教学楼表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface BuildMapper extends BaseMapper<JXLB> {
|
||||
|
||||
/**
|
||||
* 分页查询教学楼列表
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param jxlb 查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JXLB> selectPageList(Page<JXLB> page, @Param("jxlb") JXLB jxlb);
|
||||
|
||||
/**
|
||||
* 获取最大序号
|
||||
*
|
||||
* @return 最大序号
|
||||
*/
|
||||
String selectMaxXh();
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?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.roomroot.jwgl.mapper.BuildMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXLB">
|
||||
<result column="教学楼代号" property="jxldh" />
|
||||
<result column="教学楼名称" property="jxlmc" />
|
||||
<result column="地点" property="dd" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
<result column="ID" property="id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教学楼代号, 教学楼名称, 地点, 备注, 序号,ID, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学楼表
|
||||
<where>
|
||||
<if test="jxlb.jxldh != null and jxlb.jxldh != ''">
|
||||
AND 教学楼代号 LIKE CONCAT('%', #{jxlb.jxldh}, '%')
|
||||
</if>
|
||||
<if test="jxlb.jxlmc != null and jxlb.jxlmc != ''">
|
||||
AND 教学楼名称 LIKE CONCAT('%', #{jxlb.jxlmc}, '%')
|
||||
</if>
|
||||
<if test="jxlb.dd != null and jxlb.dd != ''">
|
||||
AND 地点 LIKE CONCAT('%', #{jxlb.dd}, '%')
|
||||
</if>
|
||||
<if test="jxlb.id != null and jxlb.id != ''">
|
||||
AND ID = #{jxlb.id}
|
||||
</if>
|
||||
<if test="jxlb.delFlag != null">
|
||||
AND DEL_FLAG = #{jxlb.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
|
||||
<select id="selectMaxXh" resultType="java.lang.String">
|
||||
SELECT MAX(序号) FROM 教学楼表 WHERE DEL_FLAG = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JXCDL;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 教学场地历 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface ClassRoomCalendarMapper extends BaseMapper<JXCDL> {
|
||||
|
||||
/**
|
||||
* 分页查询教学场地历列表
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param jxcdl 查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JXCDL> selectPageList(Page<JXCDL> page, @Param("jxcdl") JXCDL jxcdl);
|
||||
|
||||
/**
|
||||
* 根据教室编号查询教学场地历列表
|
||||
*
|
||||
* @param jsbh 教室编号
|
||||
* @return 教学场地历列表
|
||||
*/
|
||||
List<JXCDL> selectByJsbh(@Param("jsbh") String jsbh);
|
||||
|
||||
/**
|
||||
* 根据日期查询教学场地历列表
|
||||
*
|
||||
* @param rq 日期
|
||||
* @return 教学场地历列表
|
||||
*/
|
||||
List<JXCDL> selectByRq(@Param("rq") String rq);
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?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.roomroot.jwgl.mapper.ClassRoomCalendarMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXCDL">
|
||||
<id column="ID" property="id" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="可排课" property="kpk" />
|
||||
<result column="日期" property="rq" />
|
||||
<result column="节次" property="jc" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="教室编号" property="jsbh" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, 编号, 名称, 可排课, 日期, 节次, 创建时间, 备注, 教室编号
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学场地历
|
||||
<where>
|
||||
<if test="jxcdl.bh != null and jxcdl.bh != ''">
|
||||
AND 编号 LIKE CONCAT('%', #{jxcdl.bh}, '%')
|
||||
</if>
|
||||
<if test="jxcdl.mc != null and jxcdl.mc != ''">
|
||||
AND 名称 LIKE CONCAT('%', #{jxcdl.mc}, '%')
|
||||
</if>
|
||||
<if test="jxcdl.jsbh != null and jxcdl.jsbh != ''">
|
||||
AND 教室编号 = #{jxcdl.jsbh}
|
||||
</if>
|
||||
<if test="jxcdl.kpk != null">
|
||||
AND 可排课 = #{jxcdl.kpk}
|
||||
</if>
|
||||
<if test="jxcdl.jc != null">
|
||||
AND 节次 = #{jxcdl.jc}
|
||||
</if>
|
||||
<if test="jxcdl.delFlag != null">
|
||||
AND DEL_FLAG = #{jxcdl.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 日期, 节次
|
||||
</select>
|
||||
|
||||
<select id="selectByJsbh" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学场地历
|
||||
WHERE 教室编号 = #{jsbh}
|
||||
ORDER BY 日期, 节次
|
||||
</select>
|
||||
|
||||
<select id="selectByRq" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教学场地历
|
||||
WHERE 日期 = #{rq}
|
||||
ORDER BY 节次
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JSBKCB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教室输出课程表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface ClassRoomLessonMapper extends BaseMapper<JSBKCB> {
|
||||
|
||||
/**
|
||||
* 分页查询教室输出课程表列表
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param jsbkcb 查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JSBKCB> selectPageList(Page<JSBKCB> page, @Param("jsbkcb") JSBKCB jsbkcb);
|
||||
|
||||
/**
|
||||
* 根据教室编号和年度查询
|
||||
*
|
||||
* @param jsbh 教室编号
|
||||
* @param nd 年度
|
||||
* @return 教室输出课程表
|
||||
*/
|
||||
JSBKCB selectByJsbhAndNd(@Param("jsbh") String jsbh, @Param("nd") Integer nd);
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
<?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.roomroot.jwgl.mapper.ClassRoomLessonMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSBKCB">
|
||||
<id column="ID" property="id" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="教室编号" property="jsbh" />
|
||||
<result column="课程表" property="kcb" />
|
||||
<result column="更新时间" property="gxsj" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="有课表" property="ykb" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, 年度, 教室编号, 课程表, 更新时间, 编号, 有课表
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教室输出课程表
|
||||
<where>
|
||||
<if test="jsbkcb.nd != null">
|
||||
AND 年度 = #{jsbkcb.nd}
|
||||
</if>
|
||||
<if test="jsbkcb.jsbh != null and jsbkcb.jsbh != ''">
|
||||
AND 教室编号 LIKE CONCAT('%', #{jsbkcb.jsbh}, '%')
|
||||
</if>
|
||||
<if test="jsbkcb.ykb != null">
|
||||
AND 有课表 = #{jsbkcb.ykb}
|
||||
</if>
|
||||
<if test="jsbkcb.delFlag != null">
|
||||
AND DEL_FLAG = #{jsbkcb.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 更新时间 DESC
|
||||
</select>
|
||||
|
||||
<select id="selectByJsbhAndNd" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教室输出课程表
|
||||
WHERE 教室编号 = #{jsbh} AND 年度 = #{nd}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JSB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教室表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface ClassRoomMapper extends BaseMapper<JSB> {
|
||||
|
||||
/**
|
||||
* 分页查询教室列表
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param jsb 查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JSB> selectPageList(Page<JSB> page, @Param("jsb") JSB jsb);
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<?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.roomroot.jwgl.mapper.ClassRoomMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSB">
|
||||
<id column="教室编号" property="jsbh" />
|
||||
<result column="教室名称" property="jsmc" />
|
||||
<result column="教学楼代号" property="jxldh" />
|
||||
<result column="容纳人数" property="rnrs" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="设施设备" property="sssb" />
|
||||
<result column="停用" property="ty" />
|
||||
<result column="拼音" property="py" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="额外允许开班数" property="ewyxkbs" />
|
||||
<result column="教学场地类型" property="jxcdlx" />
|
||||
<result column="面积" property="mj" />
|
||||
<result column="考试容纳人数" property="ksrnrs" />
|
||||
<result column="虚实类型" property="xslx" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="ID" property="id" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教室编号, 教室名称, 教学楼代号, 容纳人数, 备注, 设施设备, 停用, 拼音, 序号,
|
||||
额外允许开班数, 教学场地类型, 面积, 考试容纳人数, 虚实类型, 简称, JSONZD, ID, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 教室表
|
||||
<where>
|
||||
<if test="jsb.jsbh != null and jsb.jsbh != ''">
|
||||
AND 教室编号 LIKE CONCAT('%', #{jsb.jsbh}, '%')
|
||||
</if>
|
||||
<if test="jsb.jsmc != null and jsb.jsmc != ''">
|
||||
AND 教室名称 LIKE CONCAT('%', #{jsb.jsmc}, '%')
|
||||
</if>
|
||||
<if test="jsb.jxldh != null and jsb.jxldh != ''">
|
||||
AND 教学楼代号 = #{jsb.jxldh}
|
||||
</if>
|
||||
<if test="jsb.jxcdlx != null and jsb.jxcdlx != ''">
|
||||
AND 教学场地类型 = #{jsb.jxcdlx}
|
||||
</if>
|
||||
<if test="jsb.ty != null">
|
||||
AND 停用 = #{jsb.ty}
|
||||
</if>
|
||||
<if test="jsb.delFlag != null">
|
||||
AND DEL_FLAG = #{jsb.delFlag}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.XYDRWB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 学员队任务表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface ClassSemesterCalendarMapper extends BaseMapper<XYDRWB> {
|
||||
|
||||
/**
|
||||
* 查询所有有效数据(DEL_FLAG = 0)
|
||||
*
|
||||
* @return 所有有效数据列表
|
||||
*/
|
||||
List<XYDRWB> selectAllValid(@Param("xydrwb") XYDRWB xydrwb);
|
||||
|
||||
void deleteByBcxqBh(@Param("bh") String bh);
|
||||
|
||||
/**
|
||||
* 根据学员队学期编号和日期范围查询
|
||||
*
|
||||
* @param xydxqbh 学员队学期编号
|
||||
* @param startDate 开始日期
|
||||
* @param endDate 结束日期
|
||||
* @return 任务记录列表
|
||||
*/
|
||||
List<XYDRWB> selectByBcxqbhAndDateRange(@Param("xydxqbh") String xydxqbh,
|
||||
@Param("startDate") String startDate,
|
||||
@Param("endDate") String endDate);
|
||||
|
||||
/**
|
||||
* 根据学员队学期编号删除日期范围之外的记录
|
||||
*
|
||||
* @param xydxqbh 学员队学期编号
|
||||
* @param startDate 开始日期
|
||||
* @param endDate 结束日期
|
||||
* @return 删除数量
|
||||
*/
|
||||
int deleteOutsideDateRange(@Param("xydxqbh") String xydxqbh,
|
||||
@Param("startDate") String startDate,
|
||||
@Param("endDate") String endDate);
|
||||
}
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
<?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.roomroot.jwgl.mapper.ClassSemesterCalendarMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.XYDRWB">
|
||||
<id column="编号" property="bh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="学员队编号" property="xydbh" />
|
||||
<result column="课编号" property="kbh" />
|
||||
<result column="学期第次" property="xqdc" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="课次序号" property="kcxh" />
|
||||
<result column="教室编号" property="jsbh" />
|
||||
<result column="人数" property="rs" />
|
||||
<result column="周课时" property="zks" />
|
||||
<result column="学时" property="xs" />
|
||||
<result column="课类型" property="klx" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="考试地点" property="ksdd" />
|
||||
<result column="考试编号" property="ksbh" />
|
||||
<result column="选择" property="xz" />
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="教研室计划教员编号" property="jysjhjybh" />
|
||||
<result column="教研室计划备注" property="jysjhbz" />
|
||||
<result column="计划课次序号" property="jhkcxh" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="学员队学期编号" property="xydxqbh" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="学分" property="xf" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="变动时间" property="bdsj" />
|
||||
<result column="课表变动时间" property="kbbdsj" />
|
||||
<result column="考试课时" property="ksks" />
|
||||
<result column="编组" property="bz2" />
|
||||
<result column="成绩分制" property="cjfz" />
|
||||
<result column="不计入学员平均分" property="bjrxypjf" />
|
||||
<result column="理论学时" property="llxs" />
|
||||
<result column="实践学时" property="sjxs" />
|
||||
<result column="考试课时不显示" property="ksksbxs" />
|
||||
<result column="配档序号" property="pdxh" />
|
||||
<result column="配档起始周" property="pdqsz" />
|
||||
<result column="配档按周" property="pdaz" />
|
||||
<result column="配档占正课时间" property="pdzzksj" />
|
||||
<result column="配档编组" property="pdbz" />
|
||||
<result column="配当同班异课选修编组" property="pdtbykxxbz" />
|
||||
<result column="配档自定义学时分布数据" property="pdzdyxsfbsj" />
|
||||
<result column="配档启用自定义学时" property="pdqyzdyxs" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 年度, 学员队编号, 课编号, 学期第次, 教员编号, 课次序号, 教室编号, 人数, 周课时, 学时,
|
||||
课类型, 简称, 考试地点, 考试编号, 选择, 教研室代号, 教研室计划教员编号, 教研室计划备注,
|
||||
计划课次序号, 序号标识, 学员队学期编号, 备注, 学分, 创建时间, 变动时间, 课表变动时间,
|
||||
考试课时, 编组, 成绩分制, 不计入学员平均分, 理论学时, 实践学时, 考试课时不显示,
|
||||
配档序号, 配档起始周, 配档按周, 配档占正课时间, 配档编组, 配当同班异课选修编组,
|
||||
配档自定义学时分布数据, 配档启用自定义学时, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectAllValid" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队任务表
|
||||
<where>
|
||||
<if test="xydrwb.delFlag != null">
|
||||
AND DEL_FLAG = #{xydrwb.delFlag}
|
||||
</if>
|
||||
<if test="xydrwb.xydxqbh != null and xydrwb.xydxqbh != ''">
|
||||
AND 学员队学期编号 = #{xydrwb.xydxqbh}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<delete id="deleteByBcxqBh">
|
||||
DELETE FROM 学员队任务表
|
||||
WHERE 学员队学期编号 = #{bh}
|
||||
</delete>
|
||||
|
||||
<!-- 根据学员队学期编号查询 -->
|
||||
<select id="selectByBcxqbhAndDateRange" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队任务表
|
||||
WHERE 学员队学期编号 = #{xydxqbh}
|
||||
AND DEL_FLAG = 0
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<!-- 根据学员队学期编号删除记录 -->
|
||||
<delete id="deleteOutsideDateRange">
|
||||
DELETE FROM 学员队任务表
|
||||
WHERE 学员队学期编号 = #{xydxqbh}
|
||||
</delete>
|
||||
</mapper>
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.XYDNDXQJBXXB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 学员队年度学期基本信息 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface ClassSemesterMapper extends BaseMapper<XYDNDXQJBXXB> {
|
||||
|
||||
/**
|
||||
* 分页查询列表
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param xydndxqjbxxb 查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<XYDNDXQJBXXB> selectPageList(Page<XYDNDXQJBXXB> page, @Param("xydndxqjbxxb") XYDNDXQJBXXB xydndxqjbxxb);
|
||||
|
||||
/**
|
||||
* 查询所有有效数据(DEL_FLAG = 0)
|
||||
*
|
||||
* @return 所有有效数据列表
|
||||
*/
|
||||
List<XYDNDXQJBXXB> selectAllValid();
|
||||
|
||||
/**
|
||||
* 根据学员队编号、年度、学期第次查询
|
||||
*
|
||||
* @param xydbh 学员队编号
|
||||
* @param nd 年度
|
||||
* @param xqdc 学期第次
|
||||
* @return 学员队年度学期基本信息
|
||||
*/
|
||||
XYDNDXQJBXXB selectByBcAndNdAndXqdc(@Param("xydbh") String xydbh, @Param("nd") String nd, @Param("xqdc") String xqdc);
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?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.roomroot.jwgl.mapper.ClassSemesterMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.XYDNDXQJBXXB">
|
||||
<id column="编号" property="bh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="学员队编号" property="xydbh" />
|
||||
<result column="开学日期" property="kxrq" />
|
||||
<result column="结束日期" property="jsrq" />
|
||||
<result column="学期第次" property="xqdc" />
|
||||
<result column="专用教室编号" property="zyjsbh" />
|
||||
<result column="教学任务编号" property="jxrwbh" />
|
||||
<result column="变动时间" property="bdsj" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="预设编班号" property="ysbbh" />
|
||||
<result column="节次类别" property="jclb" />
|
||||
<result column="系统模式" property="xtms" />
|
||||
<result column="开放教员排课" property="kfjypk" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="分析报告生成时间" property="fxbgscsj" />
|
||||
<result column="分析报告文档1编号" property="fxbgwd1bh" />
|
||||
<result column="分析报告文档2编号" property="fxbgwd2bh" />
|
||||
<result column="分析报告文档3编号" property="fxbgwd3bh" />
|
||||
<result column="DEL_FLAG" property="delFlag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 年度, 学员队编号, 开学日期, 结束日期, 学期第次, 专用教室编号, 教学任务编号,
|
||||
变动时间, 备注, 序号标识, 预设编班号, 节次类别, 系统模式, 开放教员排课, JSONZD,
|
||||
分析报告生成时间, 分析报告文档1编号, 分析报告文档2编号, 分析报告文档3编号, DEL_FLAG
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队年度学期基本信息表
|
||||
<where>
|
||||
<if test="xydndxqjbxxb.delFlag != null">
|
||||
AND DEL_FLAG = #{xydndxqjbxxb.delFlag}
|
||||
</if>
|
||||
<if test="xydndxqjbxxb.xydbh != null and xydndxqjbxxb.xydbh != ''">
|
||||
AND 学员队编号 LIKE CONCAT('%', #{xydndxqjbxxb.xydbh}, '%')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<select id="selectAllValid" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队年度学期基本信息表
|
||||
WHERE DEL_FLAG = '0'
|
||||
ORDER BY 编号
|
||||
</select>
|
||||
|
||||
<select id="selectByBcAndNdAndXqdc" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM 学员队年度学期基本信息表
|
||||
WHERE 学员队编号 = #{xydbh}
|
||||
AND 年度 = #{nd}
|
||||
AND 学期第次 = #{xqdc}
|
||||
AND DEL_FLAG = '0'
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DBVersion;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* DBVersion Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DBVersionMapper extends BaseMapper<DBVersion> {
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
<?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.roomroot.jwgl.mapper.DBVersionMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DBVersion">
|
||||
<result column="ID" property="iD" />
|
||||
<result column="VersionDate" property="versionDate" />
|
||||
<result column="VersionValue" property="versionValue" />
|
||||
<result column="UniversityName" property="universityName" />
|
||||
<result column="学员队全名称含年级" property="xYDQMCHNJ" />
|
||||
<result column="学期名称样式" property="xQMCYS" />
|
||||
<result column="节次类别" property="jCLB" />
|
||||
<result column="外部文件存储根路径" property="wBWJCCGLJ" />
|
||||
<result column="本站文件访问路径" property="bZWJFWLJ" />
|
||||
<result column="登录失败弹窗" property="dLSBTC" />
|
||||
<result column="允许密码尝试次数" property="yXMMCSCS" />
|
||||
<result column="用户锁定分钟数" property="yHSDFZS" />
|
||||
<result column="允许教研室管理教材" property="yxJYSGLJC" />
|
||||
<result column="使用虚拟教学场地设置班次专用教室" property="sYXNJXCDSZBCZYJS" />
|
||||
<result column="使用虚拟教员设置课程责任教员" property="sYXNJYSZKCZRJY" />
|
||||
<result column="允许多主讲分组教学" property="yXDZJFZJX" />
|
||||
<result column="跟查课录入锁定天数" property="gCKLRSDTS" />
|
||||
<result column="UniversityCode" property="universityCode" />
|
||||
<result column="UniversityValidCode" property="universityValidCode" />
|
||||
<result column="显示78节" property="xS78J" />
|
||||
<result column="显示晚上" property="xSWS" />
|
||||
<result column="显示夜间" property="xSYJ" />
|
||||
<result column="教学要点名称" property="jXYDMC" />
|
||||
<result column="教材导出包含图片" property="jCDCBHTP" />
|
||||
<result column="建立班次学期信息时自动生成教学计划" property="jLBCXQXXSZDSCJXJH" />
|
||||
<result column="成绩报表显示结论成绩" property="cJBBxSJLCJ" />
|
||||
<result column="缺省系统名称" property="qSXTMC" />
|
||||
<result column="Excel课表按开课日期排序" property="excelKBAKKRQPX" />
|
||||
<result column="Excel课表显示实施教员数" property="excelKBxSSSJYS" />
|
||||
<result column="系统模式" property="xTMS" />
|
||||
<result column="课程表标题样式" property="kCBBTYS" />
|
||||
<result column="课程表副标题样式" property="kCBFBTYS" />
|
||||
<result column="大屏显示教学内容" property="dPXSJXNR" />
|
||||
<result column="大屏显示前景标题颜色" property="dPXSQJBTYS" />
|
||||
<result column="大屏显示前景内容颜色" property="dPXSQJNRYS" />
|
||||
<result column="大屏显示背景颜色" property="dPXSBJYS" />
|
||||
<result column="实践课标记" property="sJKBJ" />
|
||||
<result column="三实课标记" property="sSKBJ" />
|
||||
<result column="增加学时标记" property="zJXSBJ" />
|
||||
<result column="减少学时标记" property="jSXSBJ" />
|
||||
<result column="json字典" property="jsonZD" />
|
||||
<result column="学员正课请假模板文件编号" property="xYZKQJMBWJBH" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
ID, VersionDate, VersionValue, UniversityName, 学员队全名称含年级, 学期名称样式, 节次类别, 外部文件存储根路径, 本站文件访问路径, 登录失败弹窗, 允许密码尝试次数, 用户锁定分钟数, 允许教研室管理教材, 使用虚拟教学场地设置班次专用教室, 使用虚拟教员设置课程责任教员, 允许多主讲分组教学, 跟查课录入锁定天数, UniversityCode, UniversityValidCode, 显示78节, 显示晚上, 显示夜间, 教学要点名称, 教材导出包含图片, 建立班次学期信息时自动生成教学计划, 成绩报表显示结论成绩, 缺省系统名称, Excel课表按开课日期排序, Excel课表显示实施教员数, 系统模式, 课程表标题样式, 课程表副标题样式, 大屏显示教学内容, 大屏显示前景标题颜色, 大屏显示前景内容颜色, 大屏显示背景颜色, 实践课标记, 三实课标记, 增加学时标记, 减少学时标记, json字典, 学员正课请假模板文件编号
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DDDLTBB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 单点登录同步表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DDDLTBBMapper extends BaseMapper<DDDLTBB> {
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?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.roomroot.jwgl.mapper.DDDLTBBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DDDLTBB">
|
||||
<result column="统一账号" property="tYZH" />
|
||||
<result column="姓名" property="xM" />
|
||||
<result column="是学员" property="sXY" />
|
||||
<result column="单位全称" property="dWQC" />
|
||||
<result column="学员学号" property="xYXH" />
|
||||
<result column="年级" property="nJ" />
|
||||
<result column="班次" property="bC" />
|
||||
<result column="专业" property="zY" />
|
||||
<result column="数据同步时间" property="sjTBSJ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
统一账号, 姓名, 是学员, 单位全称, 学员学号, 年级, 班次, 专业, 数据同步时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DKSQBZMX;
|
||||
import com.roomroot.jwgl.vo.courserunning.AdjustSupportVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 调课申请_保障明细 Mapper。
|
||||
* <p>
|
||||
* 提供调课申请中保障明细关联数据的CRUD操作及自定义查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface DKSQBZMXMapper extends BaseMapper<DKSQBZMX> {
|
||||
|
||||
/**
|
||||
* 根据调课申请编号查询保障明细列表。
|
||||
*
|
||||
* @param dksqbh 调课申请编号
|
||||
* @return 保障明细列表
|
||||
*/
|
||||
List<AdjustSupportVO> selectByDksqbh(@Param("dksqbh") String dksqbh);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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.roomroot.jwgl.mapper.DKSQBZMXMapper">
|
||||
|
||||
<!-- 调课申请-新保障明细结果映射 -->
|
||||
<resultMap id="AdjustSupportMap" type="com.roomroot.jwgl.vo.courserunning.AdjustSupportVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="数量" property="sl"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustSupportMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.保障提供明细编号,
|
||||
m.名称 AS 保障提供明细名称,
|
||||
a.数量,
|
||||
a.备注
|
||||
FROM "调课申请_保障明细" a
|
||||
LEFT JOIN "保障提供明细表" m ON a.保障提供明细编号 = m.编号
|
||||
WHERE a.申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DKSQFZJY;
|
||||
import com.roomroot.jwgl.vo.courserunning.AdjustTeacherVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 调课申请_辅助教员 Mapper。
|
||||
* <p>
|
||||
* 提供调课申请中辅助教员关联数据的CRUD操作及自定义查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface DKSQFZJYMapper extends BaseMapper<DKSQFZJY> {
|
||||
|
||||
/**
|
||||
* 根据调课申请编号查询辅助教员列表。
|
||||
*
|
||||
* @param dksqbh 调课申请编号
|
||||
* @return 辅助教员列表
|
||||
*/
|
||||
List<AdjustTeacherVO> selectByDksqbh(@Param("dksqbh") String dksqbh);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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.roomroot.jwgl.mapper.DKSQFZJYMapper">
|
||||
|
||||
<!-- 调课申请-新辅助教员结果映射 -->
|
||||
<resultMap id="AdjustTeacherMap" type="com.roomroot.jwgl.vo.courserunning.AdjustTeacherVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="辅助教员编号" property="fzjybh"/>
|
||||
<result column="辅助教员姓名" property="fzjyxm"/>
|
||||
<result column="主教员" property="zjy"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustTeacherMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.辅助教员编号,
|
||||
t.姓名 AS 辅助教员姓名,
|
||||
a.主教员,
|
||||
a.备注
|
||||
FROM "调课申请_辅助教员" a
|
||||
LEFT JOIN "教员表" t ON a.辅助教员编号 = t.编号
|
||||
WHERE a.调课申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DKSQJS;
|
||||
import com.roomroot.jwgl.vo.courserunning.AdjustRoomVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 调课申请_教室 Mapper。
|
||||
* <p>
|
||||
* 提供调课申请中教室关联数据的CRUD操作及自定义查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface DKSQJSMapper extends BaseMapper<DKSQJS> {
|
||||
|
||||
/**
|
||||
* 根据调课申请编号查询教室列表。
|
||||
*
|
||||
* @param dksqbh 调课申请编号
|
||||
* @return 教室列表
|
||||
*/
|
||||
List<AdjustRoomVO> selectByDksqbh(@Param("dksqbh") String dksqbh);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?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.roomroot.jwgl.mapper.DKSQJSMapper">
|
||||
|
||||
<!-- 调课申请-新教室结果映射 -->
|
||||
<resultMap id="AdjustRoomMap" type="com.roomroot.jwgl.vo.courserunning.AdjustRoomVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="教室编号" property="jsbh"/>
|
||||
<result column="教室名称" property="jsmc"/>
|
||||
<result column="备注" property="bz"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustRoomMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.教室编号,
|
||||
r.教室名称,
|
||||
a.备注
|
||||
FROM "调课申请_教室" a
|
||||
LEFT JOIN "教室表" r ON a.教室编号 = r.编号
|
||||
WHERE a.调课申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DKSQXYD;
|
||||
import com.roomroot.jwgl.vo.courserunning.AdjustTeamVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 调课申请_学员队 Mapper。
|
||||
* <p>
|
||||
* 提供调课申请中学员队关联数据的CRUD操作及自定义查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface DKSQXYDMapper extends BaseMapper<DKSQXYD> {
|
||||
|
||||
/**
|
||||
* 根据调课申请编号查询学员队列表。
|
||||
*
|
||||
* @param dksqbh 调课申请编号
|
||||
* @return 学员队列表
|
||||
*/
|
||||
List<AdjustTeamVO> selectByDksqbh(@Param("dksqbh") String dksqbh);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?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.roomroot.jwgl.mapper.DKSQXYDMapper">
|
||||
|
||||
<!-- 调课申请-新学员队结果映射 -->
|
||||
<resultMap id="AdjustTeamMap" type="com.roomroot.jwgl.vo.courserunning.AdjustTeamVO">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="学员队编号" property="xydbh"/>
|
||||
<result column="学员队名称" property="xydmc"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByDksqbh" resultMap="AdjustTeamMap">
|
||||
SELECT
|
||||
a.编号,
|
||||
a.学员队编号,
|
||||
d.学员队名称
|
||||
FROM "调课申请_学员队" a
|
||||
LEFT JOIN "学员队表" d ON a.学员队编号 = d.编号
|
||||
WHERE a.调课申请编号 = #{dksqbh}
|
||||
ORDER BY a.编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DLJLB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 登录记录表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DLJLBMapper extends BaseMapper<DLJLB> {
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?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.roomroot.jwgl.mapper.DLJLBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DLJLB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="登录信息编号" property="dLXXBH" />
|
||||
<result column="登录时间" property="dLSJ" />
|
||||
<result column="IP地址" property="iPDZ" />
|
||||
<result column="内网IP" property="nWIP" />
|
||||
<result column="事务ID" property="sWID" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 登录信息编号, 登录时间, IP地址, 内网IP, 事务ID
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DLXXB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 登录信息表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DLXXBMapper extends BaseMapper<DLXXB> {
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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.roomroot.jwgl.mapper.DLXXBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DLXXB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="用户密码" property="yHMM" />
|
||||
<result column="用户姓名" property="yHXM" />
|
||||
<result column="密码提示问题" property="mMTSWT" />
|
||||
<result column="密码回答问题" property="mMHDWT" />
|
||||
<result column="电话" property="dH" />
|
||||
<result column="上次登录时间" property="sCDLSJ" />
|
||||
<result column="本次登录时间" property="bCDLSJ" />
|
||||
<result column="失败次数" property="sBCS" />
|
||||
<result column="失败时间" property="sBSJ" />
|
||||
<result column="身份证" property="sFZ" />
|
||||
<result column="照片" property="zP" />
|
||||
<result column="账号" property="zH" />
|
||||
<result column="统一账号" property="tYZH" />
|
||||
<result column="自我介绍" property="zWJS" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 用户密码, 用户姓名, 密码提示问题, 密码回答问题, 电话, 上次登录时间, 本次登录时间, 失败次数, 失败时间, 身份证, 照片, 账号, 统一账号, 自我介绍
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.DXJSGZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 单项计算规则 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DXJSGZMapper extends BaseMapper<DXJSGZ> {
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.roomroot.jwgl.mapper.DXJSGZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.DXJSGZ">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="去除法数量阈值" property="qCFSLYZ" />
|
||||
<result column="高分去除比例" property="gFQCBL" />
|
||||
<result column="低分去除比例" property="dFQCBL" />
|
||||
<result column="整体降分分值线" property="allReduce" />
|
||||
<result column="整体降分数量比例阈值" property="allReduceRatio" />
|
||||
<result column="整体降分系数" property="allReduceFactor" />
|
||||
<result column="整体加分分值线" property="allPlus" />
|
||||
<result column="整体加分数量比例阈值" property="allPlusRatio" />
|
||||
<result column="整体加分系数" property="allPlusFactor" />
|
||||
<result column="优先加分" property="yXJF" />
|
||||
<result column="修改时间" property="xGSJ" />
|
||||
<result column="状态" property="zT" />
|
||||
<result column="生效时间" property="sXSJ" />
|
||||
<result column="废弃时间" property="fQSJ" />
|
||||
<result column="满分" property="mF" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 去除法数量阈值, 高分去除比例, 低分去除比例, 整体降分分值线, 整体降分数量比例阈值, 整体降分系数, 整体加分分值线, 整体加分数量比例阈值, 整体加分系数, 优先加分, 修改时间, 状态, 生效时间, 废弃时间, 满分
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.SysDictData;
|
||||
import com.roomroot.jwgl.service.impl.DictDataServiceImpl;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 字典数据数据访问接口。
|
||||
* <p>
|
||||
* 继承 MyBatis-Plus 的 {@link BaseMapper},提供对 sys_dict_data 表的
|
||||
* 基础 CRUD 操作。复杂的分页查询和条件筛选在 {@link DictDataServiceImpl} 中
|
||||
* 通过 MyBatis-Plus 的 LambdaQueryWrapper 动态构建。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface DictDataMapper extends BaseMapper<SysDictData> {
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.SysDictType;
|
||||
import com.roomroot.jwgl.service.impl.DictTypeServiceImpl;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 字典类型数据访问接口。
|
||||
* <p>
|
||||
* 继承 MyBatis-Plus 的 {@link BaseMapper},提供对 sys_dict_type 表的
|
||||
* 基础 CRUD 操作。复杂的分页查询和条件筛选在 {@link DictTypeServiceImpl} 中
|
||||
* 通过 MyBatis-Plus 的 LambdaQueryWrapper 动态构建。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface DictTypeMapper extends BaseMapper<SysDictType> {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?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.roomroot.mapper.FZQZBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.FZQZBZ">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="序号" property="xH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="创建时间" property="cJSJ" />
|
||||
<result column="停用状态" property="tYZT" />
|
||||
<result column="备注" property="bZ" />
|
||||
<result column="停用时间" property="tYSJ" />
|
||||
<result column="说明" property="sM" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 序号, 名称, 创建时间, 停用状态, 备注, 停用时间, 说明
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,90 @@
|
||||
<?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.roomroot.mapper.FZQZBZQZGZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.FZQZBZQZGZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="分值权重标准编号" property="fzqzbzbh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="详细信息" property="xxxx" />
|
||||
<result column="权值" property="qz" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 序号, 分值权重标准编号, 名称, 详细信息, 权值, 备注
|
||||
</sql>
|
||||
|
||||
<select id="selectAllScoreWeightRules" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM 分值权重标准_权重规则
|
||||
</select>
|
||||
|
||||
<select id="selectScoreWeightRulesByStandardId" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM 分值权重标准_权重规则
|
||||
WHERE 分值权重标准编号 = #{standardId}
|
||||
</select>
|
||||
|
||||
<select id="selectScoreWeightRuleById" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM 分值权重标准_权重规则
|
||||
WHERE 编号 = #{id}
|
||||
</select>
|
||||
|
||||
<select id="countScoreWeightRuleName" resultType="int">
|
||||
SELECT COUNT(*)
|
||||
FROM 分值权重标准_权重规则
|
||||
WHERE 分值权重标准编号 = #{standardId}
|
||||
AND 名称 = #{name}
|
||||
<if test="excludeId != null">AND 编号 != #{excludeId}</if>
|
||||
</select>
|
||||
|
||||
<insert id="insertScoreWeightRuleIfAbsent">
|
||||
INSERT INTO 分值权重标准_权重规则 (编号, 序号, 分值权重标准编号, 名称, 详细信息, 权值, 备注)
|
||||
SELECT #{rule.bh}, #{rule.xh}, #{rule.fzqzbzbh}, #{rule.mc}, #{rule.xxxx}, #{rule.qz}, #{rule.bz}
|
||||
FROM DUAL
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1 FROM 分值权重标准_权重规则
|
||||
WHERE 编号 = #{rule.bh}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="updateScoreWeightRule">
|
||||
UPDATE 分值权重标准_权重规则
|
||||
SET 序号 = #{rule.xh},
|
||||
分值权重标准编号 = #{rule.fzqzbzbh},
|
||||
名称 = #{rule.mc},
|
||||
详细信息 = #{rule.xxxx},
|
||||
权值 = #{rule.qz},
|
||||
备注 = #{rule.bz}
|
||||
WHERE 编号 = #{rule.bh}
|
||||
</update>
|
||||
|
||||
<select id="countScoreWeightRuleReferences" resultType="int">
|
||||
SELECT COUNT(*)
|
||||
FROM 课程板块测评_评分
|
||||
WHERE 权重规则编号 = #{id}
|
||||
</select>
|
||||
|
||||
<select id="countScoreWeightRuleReferencesByStandardId" resultType="int">
|
||||
SELECT COUNT(*)
|
||||
FROM 分值权重标准_权重规则
|
||||
WHERE 分值权重标准编号 = #{standardId}
|
||||
</select>
|
||||
|
||||
<delete id="deleteScoreWeightRulesByStandardId">
|
||||
DELETE FROM 分值权重标准_权重规则
|
||||
WHERE 分值权重标准编号 = #{standardId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteScoreWeightRuleById">
|
||||
DELETE FROM 分值权重标准_权重规则
|
||||
WHERE 编号 = #{id}
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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.roomroot.mapper.FZZHGZBZCPJGYSMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.FZZHGZBZCPJGYS">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="备注" property="bZ" />
|
||||
<result column="序号" property="xH" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 备注, 序号
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.GKLDLBZBB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 跟课领导类别指标表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface GKLDLBZBBMapper extends BaseMapper<GKLDLBZBB> {
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?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.roomroot.jwgl.mapper.GKLDLBZBBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.GKLDLBZBB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="禁用状态" property="jYZT" />
|
||||
<result column="指标单位" property="zBDW" />
|
||||
<result column="指标量" property="zBL" />
|
||||
<result column="备注" property="bZ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 禁用状态, 指标单位, 指标量, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?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.roomroot.mapper.JCSJBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JCSJB">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="双节次" property="sjc" />
|
||||
<result column="节次索引" property="jcsy" />
|
||||
<result column="开始时间" property="kssj" />
|
||||
<result column="结束时间" property="jssj" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="时段" property="sd" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 双节次, 节次索引, 开始时间, 结束时间, 备注, 名称, 简称, 时段
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JG;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 结果 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface JGMapper extends BaseMapper<JG> {
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<?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.roomroot.jwgl.mapper.JGMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JG">
|
||||
<result column="年度" property="nD" />
|
||||
<result column="学员队编号" property="xYDBH" />
|
||||
<result column="课编号" property="kBH" />
|
||||
<result column="学期第次" property="xQDC" />
|
||||
<result column="教员编号" property="jYBH" />
|
||||
<result column="课次序号" property="kCXH" />
|
||||
<result column="教室编号" property="jSBH" />
|
||||
<result column="人数" property="rS" />
|
||||
<result column="周课时" property="zKS" />
|
||||
<result column="学时" property="xS" />
|
||||
<result column="课类型" property="kLX" />
|
||||
<result column="简称" property="jC" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
年度, 学员队编号, 课编号, 学期第次, 教员编号, 课次序号, 教室编号, 人数, 周课时, 学时, 课类型, 简称
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JSZWKSFBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JSZWKSFBZMapper extends BaseMapper<JSZWKSFBZ> {}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?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.roomroot.jwgl.mapper.JSZWKSFBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSZWKSFBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="技术职务编号" property="jszwbh" />
|
||||
<result column="课时费标准编号" property="ksfbzbh" />
|
||||
<result column="标准课时量" property="bzksl" />
|
||||
<result column="课时费" property="ksf" />
|
||||
<result column="超量课时费" property="clksf" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 技术职务编号, 课时费标准编号, 标准课时量, 课时费, 超量课时费, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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.roomroot.mapper.JSZWMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JSZW">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="代码" property="dM" />
|
||||
<result column="名称" property="mC" />
|
||||
<result column="备注" property="bZ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 代码, 名称, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JXRZJYKSBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JXRZJYKSBZMapper extends BaseMapper<JXRZJYKSBZ> {}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.roomroot.jwgl.mapper.JXRZJYKSBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXRZJYKSBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教学日志课时补助审批编号" property="jxrzksbzspbh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="技术职务编号" property="jszwbh" />
|
||||
<result column="是否优质" property="sfyz" />
|
||||
<result column="课程科目编号" property="kckmbh" />
|
||||
<result column="非课程任务名称" property="fkcrwmc" />
|
||||
<result column="课时量" property="ksl" />
|
||||
<result column="基本标准" property="jbbz" />
|
||||
<result column="增发标准" property="zfbz" />
|
||||
<result column="课时补助金额" property="ksbzje" />
|
||||
<result column="培训期班" property="pxqb" />
|
||||
<result column="部系名称" property="bxmc" />
|
||||
<result column="教研室名称" property="jysmc" />
|
||||
<result column="教学学时" property="jxxs" />
|
||||
<result column="主讲" property="zj" />
|
||||
<result column="讲授方式" property="jsfs" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教学日志课时补助审批编号, 教员编号, 技术职务编号, 是否优质, 课程科目编号, 非课程任务名称, 课时量, 基本标准, 增发标准, 课时补助金额, 培训期班, 部系名称, 教研室名称, 教学学时, 主讲, 讲授方式
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JXRZKSBZSPB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教学日志课时补助审批表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface JXRZKSBZSPBMapper extends BaseMapper<JXRZKSBZSPB> {
|
||||
|
||||
/**
|
||||
* 分页查询课时补助审批表
|
||||
*/
|
||||
Page<JXRZKSBZSPB> selectPageList(Page<JXRZKSBZSPB> page, @Param("cond") JXRZKSBZSPB cond);
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<?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.roomroot.jwgl.mapper.JXRZKSBZSPBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXRZKSBZSPB">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="核算开始日期" property="hsksrq" />
|
||||
<result column="核算结束日期" property="hsjsrq" />
|
||||
<result column="总课时量" property="zksl" />
|
||||
<result column="优质课时量" property="yzksl" />
|
||||
<result column="总补助金额" property="zbzje" />
|
||||
<result column="优质课时量最高比例" property="yzkslzgbl" />
|
||||
<result column="优质课时量比例" property="yzkslbl" />
|
||||
<result column="课时补助标准编号" property="ksbzbzbh" />
|
||||
<result column="课时核算标准编号" property="kshsbzbh" />
|
||||
<result column="核算日期" property="hsrq" />
|
||||
<result column="状态" property="zt" />
|
||||
<result column="任务类别" property="rwlb" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 核算开始日期, 核算结束日期, 总课时量, 优质课时量, 总补助金额,
|
||||
优质课时量最高比例, 优质课时量比例, 课时补助标准编号, 课时核算标准编号,
|
||||
核算日期, 状态, 任务类别
|
||||
</sql>
|
||||
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List" />
|
||||
FROM "教学日志课时补助审批表"
|
||||
WHERE 1=1
|
||||
<if test="cond.zt != null and cond.zt != ''">
|
||||
AND 状态 = #{cond.zt}
|
||||
</if>
|
||||
<if test="cond.rwlb != null and cond.rwlb != ''">
|
||||
AND 任务类别 = #{cond.rwlb}
|
||||
</if>
|
||||
ORDER BY 核算日期 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JXRZXYXXQK;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JXRZXYXXQKMapper extends BaseMapper<JXRZXYXXQK> {}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?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.roomroot.jwgl.mapper.JXRZXYXXQKMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXRZXYXXQK">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教学日志编号" property="jxrzbh" />
|
||||
<result column="学员编号" property="xybh" />
|
||||
<result column="学习效果" property="xyxg" />
|
||||
<result column="学习情况" property="xxqk" />
|
||||
<result column="到课情况" property="dkqk" />
|
||||
<result column="请假情况" property="qjqk" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教学日志编号, 学员编号, 学习效果, 学习情况, 到课情况, 请假情况
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JXSSJHTJB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JXSSJHTJBMapper extends BaseMapper<JXSSJHTJB> {}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?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.roomroot.jwgl.mapper.JXSSJHTJBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JXSSJHTJB">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="日期" property="rq" />
|
||||
<result column="节次" property="jc" />
|
||||
<result column="总学时" property="zxs" />
|
||||
<result column="总节次" property="zjc" />
|
||||
<result column="已办理计划调整数" property="ybljhdzs" />
|
||||
<result column="调课数" property="dks" />
|
||||
<result column="教学日志填写数" property="jxrztxs" />
|
||||
<result column="已审核教学日志数" property="yshjxrzs" />
|
||||
<result column="听查课数" property="tcks" />
|
||||
<result column="教学督导数" property="jxdds" />
|
||||
<result column="开课课程门数" property="kkkcms" />
|
||||
<result column="课程考核次数" property="kckhcs" />
|
||||
<result column="动用教学场地数" property="dyjxcds" />
|
||||
<result column="上课教员数" property="skjys" />
|
||||
<result column="教学班次数" property="jxbcs" />
|
||||
<result column="实体教学班次数" property="stjxbcs" />
|
||||
<result column="选修教学班次数" property="xxjxbcs" />
|
||||
<result column="学员总人数" property="xyzrs" />
|
||||
<result column="教学请假人次" property="jxqjrc" />
|
||||
<result column="教学请假学员人数" property="jxqjxyrs" />
|
||||
<result column="缺课人次" property="qkrc" />
|
||||
<result column="缺课人数" property="qkrs" />
|
||||
<result column="已请假缺课人次" property="yqjqkrc" />
|
||||
<result column="已请假缺课人数" property="yqjqkrs" />
|
||||
<result column="未请假缺课人次" property="wqjqkrc" />
|
||||
<result column="未请假缺课人数" property="wqjqkrs" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 日期, 节次, 总学时, 总节次, 已办理计划调整数, 调课数, 教学日志填写数, 已审核教学日志数, 听查课数, 教学督导数, 开课课程门数, 课程考核次数, 动用教学场地数, 上课教员数, 教学班次数, 实体教学班次数, 选修教学班次数, 学员总人数, 教学请假人次, 教学请假学员人数, 缺课人次, 缺课人数, 已请假缺课人次, 已请假缺课人数, 未请假缺课人次, 未请假缺课人数, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JYB;
|
||||
import com.roomroot.jwgl.vo.faculty.TeacherListVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教员表 Mapper
|
||||
* <p>
|
||||
* 提供教员数据的CRUD操作及分页查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface JYBMapper extends BaseMapper<JYB> {
|
||||
|
||||
/**
|
||||
* 分页查询教员列表(支持条件筛选)
|
||||
*
|
||||
* @param page MyBatis-Plus 分页对象
|
||||
* @param jyb 教员查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JYB> selectPageList(Page<JYB> page, @Param("jyb") JYB jyb);
|
||||
|
||||
/** 教员列表双表联查分页 */
|
||||
Page<TeacherListVO> selectTeacherPageList(Page<TeacherListVO> page, @Param("jyb") JYB cond);
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
<?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.roomroot.jwgl.mapper.JYBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYB">
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="教员姓名" property="jyxm" />
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="职称" property="zc" />
|
||||
<result column="离职状态" property="lzzt" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="专业技术职务等级" property="zyjszwdj" />
|
||||
<result column="虚实类型" property="xslx" />
|
||||
<result column="教员类别" property="jylb" />
|
||||
<result column="卡号" property="kh" />
|
||||
<result column="拼音" property="py" />
|
||||
<result column="在职类别" property="zzlb" />
|
||||
<result column="额外允许开班数" property="ewyxkbs" />
|
||||
<result column="手机号" property="sjh" />
|
||||
<result column="导师类别" property="dslb" />
|
||||
<result column="学缘" property="xy" />
|
||||
<result column="身份证号" property="sfzh" />
|
||||
<result column="性别" property="xb" />
|
||||
<result column="外训教员" property="wxjy" />
|
||||
<result column="外训译员" property="wxyy" />
|
||||
<result column="政治类教员" property="zzljy" />
|
||||
<result column="序号标识" property="xhbs" />
|
||||
<result column="JSONZD" property="jsonzd" />
|
||||
<result column="专业技术职务等级时间" property="zyjszwdjsj" />
|
||||
<result column="职称时间" property="zcsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教员编号, 教员姓名, 教研室代号, 备注, 职称, 离职状态, 序号, 专业技术职务等级,
|
||||
虚实类型, 教员类别, 卡号, 拼音, 在职类别, 额外允许开班数, 手机号, 导师类别,
|
||||
学缘, 身份证号, 性别, 外训教员, 外训译员, 政治类教员, 序号标识, JSONZD,
|
||||
专业技术职务等级时间, 职称时间
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教员列表 -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教员表"
|
||||
WHERE 离职状态=0
|
||||
<if test="jyb.jyxm != null and jyb.jyxm != ''">
|
||||
AND 教员姓名 LIKE CONCAT('%', #{jyb.jyxm}, '%')
|
||||
</if>
|
||||
<if test="jyb.jysdh != null and jyb.jysdh != ''">
|
||||
AND 教研室代号 = #{jyb.jysdh}
|
||||
</if>
|
||||
<if test="jyb.zc != null and jyb.zc != ''">
|
||||
AND 职称 LIKE CONCAT('%', #{jyb.zc}, '%')
|
||||
</if>
|
||||
<if test="jyb.jylb != null and jyb.jylb != ''">
|
||||
AND 教员类别 = #{jyb.jylb}
|
||||
</if>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
<!-- 教员列表双表联查分页(教员表 LEFT JOIN 教员属性 LEFT JOIN 教研室表) -->
|
||||
<select id="selectTeacherPageList" resultType="com.roomroot.jwgl.vo.faculty.TeacherListVO">
|
||||
SELECT
|
||||
t."序号" AS xh,
|
||||
t."教员编号" AS jybh,
|
||||
j."教研室名称" AS jysmc,
|
||||
t."教员姓名" AS jyxm,
|
||||
t."性别" AS xb,
|
||||
s."出生时间" AS cssj,
|
||||
t."职称" AS zc,
|
||||
s."学历" AS xl,
|
||||
s."学位" AS xw,
|
||||
s."入伍工作时间" AS rwgzsj,
|
||||
t."手机号" AS sjh,
|
||||
t."虚实类型" AS xslx
|
||||
FROM "教员表" t
|
||||
LEFT JOIN "教员属性" s ON s."教员编号" = t."教员编号"
|
||||
LEFT JOIN "教研室表" j ON j."教研室代号" = t."教研室代号"
|
||||
WHERE t."离职状态" = 0
|
||||
<if test="jyb.jyxm != null and jyb.jyxm != ''">
|
||||
AND t."教员姓名" LIKE CONCAT('%', #{jyb.jyxm}, '%')
|
||||
</if>
|
||||
<if test="jyb.jysdh != null and jyb.jysdh != ''">
|
||||
AND t."教研室代号" = #{jyb.jysdh}
|
||||
</if>
|
||||
<if test="jyb.zc != null and jyb.zc != ''">
|
||||
AND t."职称" LIKE CONCAT('%', #{jyb.zc}, '%')
|
||||
</if>
|
||||
<if test="jyb.jylb != null and jyb.jylb != ''">
|
||||
AND t."教员类别" = #{jyb.jylb}
|
||||
</if>
|
||||
ORDER BY t."序号"
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JYKSBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JYKSBZMapper extends BaseMapper<JYKSBZ> {}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?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.roomroot.jwgl.mapper.JYKSBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYKSBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="补助项目编号" property="bzxmbh" />
|
||||
<result column="补助课时量" property="bzksl" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教员编号, 补助项目编号, 补助课时量, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JYNZKSF;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JYNZKSFMapper extends BaseMapper<JYNZKSF> {}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?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.roomroot.jwgl.mapper.JYNZKSFMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYNZKSF">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="年终课时费编号" property="nzksfbh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="技术职务编号" property="jszwbh" />
|
||||
<result column="绩效评定等级" property="jxpddj" />
|
||||
<result column="上学期课时量" property="sxqksl" />
|
||||
<result column="下学期课时量" property="xxqksl" />
|
||||
<result column="上学期实际教学课时量" property="sxqsjjxksl" />
|
||||
<result column="上学期补助教学课时量" property="sxqbzjxksl" />
|
||||
<result column="上学期相关教学课时量" property="sxqxgjxksl" />
|
||||
<result column="上学期不计酬劳课时量" property="sxqbjclksl" />
|
||||
<result column="下学期实际教学课时量" property="xxqsjjxksl" />
|
||||
<result column="下学期补助教学课时量" property="xxqbzjxksl" />
|
||||
<result column="下学期相关教学课时量" property="xxqxgjxksl" />
|
||||
<result column="下学期不计酬劳课时量" property="xxqbjclksl" />
|
||||
<result column="教学课时量" property="jxksl" />
|
||||
<result column="上学期教学课时量" property="sxqjxksl" />
|
||||
<result column="下学期教学课时量" property="xxqjxksl" />
|
||||
<result column="总计课时量" property="zjksl" />
|
||||
<result column="实际教学课时量" property="sjjxksl" />
|
||||
<result column="补助教学课时量" property="bzjxksl" />
|
||||
<result column="相关教学课时量" property="xgjxksl" />
|
||||
<result column="不计酬劳课时量" property="bjclksl" />
|
||||
<result column="超课时量" property="cksl" />
|
||||
<result column="计算公式" property="jsgs" />
|
||||
<result column="课时费" property="ksf" />
|
||||
<result column="备注" property="bz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 年终课时费编号, 教员编号, 技术职务编号, 绩效评定等级, 上学期课时量, 下学期课时量, 上学期实际教学课时量, 上学期补助教学课时量, 上学期相关教学课时量, 上学期不计酬劳课时量, 下学期实际教学课时量, 下学期补助教学课时量, 下学期相关教学课时量, 下学期不计酬劳课时量, 教学课时量, 上学期教学课时量, 下学期教学课时量, 总计课时量, 实际教学课时量, 补助教学课时量, 相关教学课时量, 不计酬劳课时量, 超课时量, 计算公式, 课时费, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JYSB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教研室表 Mapper
|
||||
* <p>
|
||||
* 提供教研室数据的CRUD操作。
|
||||
* 基础CRUD继承 MyBatis-Plus BaseMapper,
|
||||
* 分页条件查询通过 XML 映射文件实现。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface JYSBMapper extends BaseMapper<JYSB> {
|
||||
|
||||
/**
|
||||
* 分页查询教研室列表(支持条件筛选)
|
||||
*
|
||||
* @param page MyBatis-Plus 分页对象
|
||||
* @param jysb 教研室查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JYSB> selectPageList(Page<JYSB> page, @Param("jysb") JYSB jysb);
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?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.roomroot.jwgl.mapper.JYSBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYSB">
|
||||
<result column="教研室代号" property="jysdh" />
|
||||
<result column="教研室名称" property="jysmc" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="停用" property="ty" />
|
||||
<result column="停用时间" property="tysj" />
|
||||
<result column="序号" property="xh" />
|
||||
<result column="部系" property="bx" />
|
||||
<result column="虚实类型" property="xslx" />
|
||||
<result column="简称" property="jc" />
|
||||
<result column="机关性质" property="jgxz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教研室代号, 教研室名称, 备注, 停用, 停用时间, 序号, 部系, 虚实类型, 简称, 机关性质
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教研室列表(支持条件筛选) -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教研室表"
|
||||
WHERE 1=1
|
||||
<if test="jysb.jysdh != null and jysb.jysdh != ''">
|
||||
AND 教研室代号 LIKE CONCAT('%', #{jysb.jysdh}, '%')
|
||||
</if>
|
||||
<if test="jysb.jysmc != null and jysb.jysmc != ''">
|
||||
AND 教研室名称 LIKE CONCAT('%', #{jysb.jysmc}, '%')
|
||||
</if>
|
||||
<if test="jysb.bx != null and jysb.bx != ''">
|
||||
AND 部系 LIKE CONCAT('%', #{jysb.bx}, '%')
|
||||
</if>
|
||||
ORDER BY 序号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JYSCKCB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教员输出课程表 Mapper
|
||||
* <p>
|
||||
* 提供教员课程表数据的查询操作。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface JYSCKCBMapper extends BaseMapper<JYSCKCB> {
|
||||
|
||||
/**
|
||||
* 分页查询教员输出课程表列表
|
||||
*
|
||||
* @param page MyBatis-Plus 分页对象
|
||||
* @param jysckcb 查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JYSCKCB> selectPageList(Page<JYSCKCB> page, @Param("jysckcb") JYSCKCB jysckcb);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
<?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.roomroot.jwgl.mapper.JYSCKCBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYSCKCB">
|
||||
<result column="年度" property="nd" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="课程表" property="kcb" />
|
||||
<result column="更新时间" property="gxsj" />
|
||||
<result column="编号" property="bh" />
|
||||
<result column="有课表" property="ykb" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
年度, 教员编号, 课程表, 更新时间, 编号, 有课表
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教员输出课程表列表 -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教员输出课程表"
|
||||
WHERE 1=1
|
||||
<if test="jysckcb.jybh != null and jysckcb.jybh != ''">
|
||||
AND 教员编号 = #{jysckcb.jybh}
|
||||
</if>
|
||||
<if test="jysckcb.nd != null">
|
||||
AND 年度 = #{jysckcb.nd}
|
||||
</if>
|
||||
<if test="jysckcb.ykb != null">
|
||||
AND 有课表 = #{jysckcb.ykb}
|
||||
</if>
|
||||
ORDER BY 年度 DESC, 教员编号
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.JYSX;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 教员属性 Mapper
|
||||
* <p>
|
||||
* 提供教员属性数据的CRUD操作及分页查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface JYSXMapper extends BaseMapper<JYSX> {
|
||||
|
||||
/**
|
||||
* 分页查询教员属性列表(支持条件筛选)
|
||||
*
|
||||
* @param page MyBatis-Plus 分页对象
|
||||
* @param jysx 教员属性查询条件
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<JYSX> selectPageList(Page<JYSX> page, @Param("jysx") JYSX jysx);
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
<?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.roomroot.jwgl.mapper.JYSXMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JYSX">
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="主任" property="zr" />
|
||||
<result column="职务" property="zw" />
|
||||
<result column="职务时间" property="zwsj" />
|
||||
<result column="技术职务" property="jszw" />
|
||||
<result column="技术职务时间" property="jszwsj" />
|
||||
<result column="技术等级" property="jsdj" />
|
||||
<result column="技术等级时间" property="jsdjsj" />
|
||||
<result column="军衔文职" property="jxwz" />
|
||||
<result column="军衔文职时间" property="jxwzsj" />
|
||||
<result column="出生时间" property="cssj" />
|
||||
<result column="学历" property="xl" />
|
||||
<result column="学位" property="xw" />
|
||||
<result column="入伍工作时间" property="rwgzsj" />
|
||||
<result column="任代职经历" property="rdzjl" />
|
||||
<result column="发表论文" property="fblw" />
|
||||
<result column="教龄" property="jl" />
|
||||
<result column="教龄计算日期" property="jljsrq" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
教员编号, 主任, 职务, 职务时间, 技术职务, 技术职务时间, 技术等级, 技术等级时间,
|
||||
军衔文职, 军衔文职时间, 出生时间, 学历, 学位, 入伍工作时间, 任代职经历,
|
||||
发表论文, 教龄, 教龄计算日期
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询教员属性列表 -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List" />
|
||||
FROM "教员属性"
|
||||
WHERE 1=1
|
||||
<if test="jysx.jybh != null and jysx.jybh != ''">
|
||||
AND 教员编号 = #{jysx.jybh}
|
||||
</if>
|
||||
<if test="jysx.xl != null and jysx.xl != ''">
|
||||
AND 学历 LIKE CONCAT('%', #{jysx.xl}, '%')
|
||||
</if>
|
||||
<if test="jysx.xw != null and jysx.xw != ''">
|
||||
AND 学位 LIKE CONCAT('%', #{jysx.xw}, '%')
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JZGZL;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface JZGZLMapper extends BaseMapper<JZGZL> {}
|
||||
@@ -0,0 +1,24 @@
|
||||
<?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.roomroot.jwgl.mapper.JZGZLMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.JZGZL">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="教员编号" property="jybh" />
|
||||
<result column="年度" property="nd" />
|
||||
<result column="学期" property="xq" />
|
||||
<result column="课程教学工作量" property="kcjxgzl" />
|
||||
<result column="科研学术工作量" property="kyxsgzl" />
|
||||
<result column="指导学员工作量" property="zdyxgzl" />
|
||||
<result column="教学建设工作量" property="jxjssgzl" />
|
||||
<result column="咨询服务工作量" property="zxfwgzl" />
|
||||
<result column="总工作量" property="zgzl" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 教员编号, 年度, 学期, 课程教学工作量, 科研学术工作量, 指导学员工作量, 教学建设工作量, 咨询服务工作量, 总工作量, 创建时间, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KCBBZMX;
|
||||
import com.roomroot.jwgl.vo.courserunning.TeachingSupportHistoryVO;
|
||||
import com.roomroot.jwgl.vo.courserunning.TeachingSupportPlanVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 课程表_保障明细 Mapper。
|
||||
* <p>
|
||||
* 提供课次教学保障计划数据的CRUD操作及自定义查询。
|
||||
* </p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface KCBBZMXMapper extends BaseMapper<KCBBZMX> {
|
||||
|
||||
/**
|
||||
* 根据课次编号查询教学保障计划列表。
|
||||
* <p>
|
||||
* 关联保障提供明细表获取保障名称、单位,关联保障类别表获取类别名称,
|
||||
* 关联教员表获取确认人姓名。
|
||||
* </p>
|
||||
*
|
||||
* @param sskcbbh 实施_课程表编号(课次编号)
|
||||
* @return 教学保障计划列表
|
||||
*/
|
||||
List<TeachingSupportPlanVO> selectBySskcbbh(@Param("sskcbbh") String sskcbbh);
|
||||
|
||||
/**
|
||||
* 根据实施_课程编号查询历史登记过的保障物资(历史联想)。
|
||||
* <p>
|
||||
* 关联实施_课程表获取同实施课程下所有历史课次已登记的保障明细,
|
||||
* 按保障提供明细编号聚合去重,统计历史使用次数、最近登记时间和平均数量,
|
||||
* 排除当前课次的登记记录,避免重复推荐。
|
||||
* </p>
|
||||
*
|
||||
* @param sskcbh 实施_课程编号
|
||||
* @param sskcbbh 当前课次编号(排除当前课次)
|
||||
* @return 历史联想保障物资列表
|
||||
*/
|
||||
List<TeachingSupportHistoryVO> selectHistoryBySskcbh(@Param("sskcbh") String sskcbh,
|
||||
@Param("sskcbbh") String sskcbbh);
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
<?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.roomroot.jwgl.mapper.KCBBZMXMapper">
|
||||
|
||||
<!-- 教学保障计划列表结果映射 -->
|
||||
<resultMap id="TeachingSupportPlanMap" type="com.roomroot.jwgl.vo.courserunning.TeachingSupportPlanVO">
|
||||
<result column="保障明细编号" property="kcbbzmxbh"/>
|
||||
<result column="课次编号" property="sskcbbh"/>
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="单位" property="dw"/>
|
||||
<result column="保障类别名称" property="zzlmc"/>
|
||||
<result column="年度" property="nd"/>
|
||||
<result column="数量" property="sl"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="确认状态" property="qrzt"/>
|
||||
<result column="确认人编号" property="qrrbh"/>
|
||||
<result column="确认人姓名" property="qrrxm"/>
|
||||
<result column="确认时间" property="qrsj"/>
|
||||
<result column="确认备注" property="qrbz"/>
|
||||
<result column="创建时间" property="cjsj"/>
|
||||
<result column="更新时间" property="updateTime"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 教学保障历史联想结果映射 -->
|
||||
<resultMap id="TeachingSupportHistoryMap" type="com.roomroot.jwgl.vo.courserunning.TeachingSupportHistoryVO">
|
||||
<result column="保障提供明细编号" property="bztgmxbh"/>
|
||||
<result column="保障提供明细名称" property="bztgmxmc"/>
|
||||
<result column="单位" property="dw"/>
|
||||
<result column="保障类别编号" property="bzlbbh"/>
|
||||
<result column="保障类别名称" property="zzlmc"/>
|
||||
<result column="使用次数" property="syscs"/>
|
||||
<result column="最近时间" property="zjsj"/>
|
||||
<result column="平均数量" property="pjsl"/>
|
||||
<result column="最近数量" property="zjsl"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 根据实施_课程编号查询历史登记过的保障物资(历史联想) -->
|
||||
<select id="selectHistoryBySskcbh" resultMap="TeachingSupportHistoryMap">
|
||||
SELECT
|
||||
a.保障提供明细编号 AS 保障提供明细编号,
|
||||
m.名称 AS 保障提供明细名称,
|
||||
m.单位,
|
||||
m.保障类别编号,
|
||||
l.名称 AS 保障类别名称,
|
||||
COUNT(a.编号) AS 使用次数,
|
||||
MAX(a.创建时间) AS 最近时间,
|
||||
CAST(ROUND(AVG(a.数量), 0) AS INT) AS 平均数量,
|
||||
MAX(a.数量) KEEP (DENSE_RANK LAST ORDER BY a.创建时间) AS 最近数量
|
||||
FROM "课程表_保障明细" a
|
||||
INNER JOIN "实施_课程表" b ON a.课程表编号 = b.编号
|
||||
LEFT JOIN "保障提供明细" m ON a.保障提供明细编号 = m.编号
|
||||
LEFT JOIN "保障类别" l ON m.保障类别编号 = l.编号
|
||||
WHERE b.实施_课程编号 = #{sskcbh}
|
||||
AND a.课程表编号 != #{sskcbbh}
|
||||
GROUP BY
|
||||
a.保障提供明细编号,
|
||||
m.名称,
|
||||
m.单位,
|
||||
m.保障类别编号,
|
||||
l.名称
|
||||
ORDER BY 使用次数 DESC, 最近时间 DESC
|
||||
</select>
|
||||
|
||||
<!-- 根据课次编号查询教学保障计划列表 -->
|
||||
<select id="selectBySskcbbh" resultMap="TeachingSupportPlanMap">
|
||||
SELECT
|
||||
a.编号 AS 保障明细编号,
|
||||
a.课程表编号 AS 课次编号,
|
||||
a.保障提供明细编号,
|
||||
m.名称 AS 保障提供明细名称,
|
||||
m.单位,
|
||||
l.名称 AS 保障类别名称,
|
||||
a.年度,
|
||||
a.数量,
|
||||
a.备注,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN 1
|
||||
ELSE 0
|
||||
END AS 确认状态,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
REGEXP_SUBSTR(a.备注, '"confirmedBy":"([^"]*)"', 1, 1, NULL, 1)
|
||||
ELSE NULL
|
||||
END AS 确认人编号,
|
||||
t.姓名 AS 确认人姓名,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
TO_DATE(REGEXP_SUBSTR(a.备注, '"confirmedAt":"([^"]*)"', 1, 1, NULL, 1), 'YYYY-MM-DD HH24:MI:SS')
|
||||
ELSE NULL
|
||||
END AS 确认时间,
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
REGEXP_SUBSTR(a.备注, '"confirmRemark":"([^"]*)"', 1, 1, NULL, 1)
|
||||
ELSE NULL
|
||||
END AS 确认备注,
|
||||
a.创建时间,
|
||||
a.update_time AS 更新时间
|
||||
FROM "课程表_保障明细" a
|
||||
LEFT JOIN "保障提供明细" m ON a.保障提供明细编号 = m.编号
|
||||
LEFT JOIN "保障类别" l ON m.保障类别编号 = l.编号
|
||||
LEFT JOIN "教员表" t ON (
|
||||
CASE
|
||||
WHEN a.备注 LIKE '%"confirmed":true%' THEN
|
||||
REGEXP_SUBSTR(a.备注, '"confirmedBy":"([^"]*)"', 1, 1, NULL, 1)
|
||||
ELSE NULL
|
||||
END
|
||||
) = t.编号
|
||||
WHERE a.课程表编号 = #{sskcbbh}
|
||||
ORDER BY a.创建时间 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KCBMBB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 课程表模版表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KCBMBBMapper extends BaseMapper<KCBMBB> {
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
<?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.roomroot.jwgl.mapper.KCBMBBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KCBMBB">
|
||||
<result column="编号" property="bH" />
|
||||
<result column="模版名称" property="mBMC" />
|
||||
<result column="标题位置" property="bTWZ" />
|
||||
<result column="专业信息位置" property="zYXXWZ" />
|
||||
<result column="课表时间行号" property="kBSJHH" />
|
||||
<result column="显示夜间" property="xSYJ" />
|
||||
<result column="末尾列位置" property="mWLWZ" />
|
||||
<result column="课程行位置" property="kCHWZ" />
|
||||
<result column="课程序号列位置" property="kCXHLWZ" />
|
||||
<result column="课程名称列位置" property="kCMCLWZ" />
|
||||
<result column="课程简称列位置" property="kCJCLWZ" />
|
||||
<result column="课程学时列位置" property="kCXSLWZ" />
|
||||
<result column="课程类型列位置" property="kCLXLWZ" />
|
||||
<result column="课程责任教研室列位置" property="kCZRJYSLWZ" />
|
||||
<result column="课程责任教员列位置" property="kCZRJYLWZ" />
|
||||
<result column="课程授课教员列位置" property="kCSKJYLWZ" />
|
||||
<result column="课程人数列位置" property="kCRSLWZ" />
|
||||
<result column="课程场地列位置" property="kCCDLWZ" />
|
||||
<result column="全局备注位置" property="qJBZWZ" />
|
||||
<result column="更新时间" property="gXSJ" />
|
||||
<result column="上传者" property="sCZ" />
|
||||
<result column="备注" property="bZ" />
|
||||
<result column="模版" property="mB" />
|
||||
<result column="模版存在" property="mBCZ" />
|
||||
<result column="模版可用" property="mBKY" />
|
||||
<result column="备注纵向样式" property="bZZXYS" />
|
||||
<result column="无课站位字符" property="wKZWZF" />
|
||||
<result column="队别位置" property="dBWZ" />
|
||||
<result column="课程合班信息位置" property="kCHBXXWZ" />
|
||||
<result column="标题格式" property="bTGS" />
|
||||
<result column="副标题格式" property="fBTGS" />
|
||||
<result column="专用教室位置" property="zYJSWZ" />
|
||||
<result column="附加备注1位置" property="fJBZ1WZ" />
|
||||
<result column="附加备注2位置" property="fJBZ2WZ" />
|
||||
<result column="课表样式" property="kBYS" />
|
||||
<result column="课表包含选修" property="kBBHXX" />
|
||||
<result column="纵向显示78节" property="zXXS78J" />
|
||||
<result column="纵向显示晚上" property="zXXSWS" />
|
||||
<result column="纵向显示天数" property="zXXSTS" />
|
||||
<result column="课程全部场地列位置" property="kCQBCDLWZ" />
|
||||
<result column="课程表样式" property="kCBYS" />
|
||||
<result column="课程主讲教员列位置" property="kCZJJYLWZ" />
|
||||
<result column="课程辅导教员列位置" property="kCFDJYLWZ" />
|
||||
<result column="课程周次范围列位置" property="kCZCFWLWZ" />
|
||||
<result column="课程表起始列位置" property="kCBQSLWZ" />
|
||||
<result column="课程表一周正课天数" property="kCBYZZKTS" />
|
||||
<result column="json字典" property="jsonZD" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 模版名称, 标题位置, 专业信息位置, 课表时间行号, 显示夜间, 末尾列位置, 课程行位置, 课程序号列位置, 课程名称列位置, 课程简称列位置, 课程学时列位置, 课程类型列位置, 课程责任教研室列位置, 课程责任教员列位置, 课程授课教员列位置, 课程人数列位置, 课程场地列位置, 全局备注位置, 更新时间, 上传者, 备注, 模版, 模版存在, 模版可用, 备注纵向样式, 无课站位字符, 队别位置, 课程合班信息位置, 标题格式, 副标题格式, 专用教室位置, 附加备注1位置, 附加备注2位置, 课表样式, 课表包含选修, 纵向显示78节, 纵向显示晚上, 纵向显示天数, 课程全部场地列位置, 课程表样式, 课程主讲教员列位置, 课程辅导教员列位置, 课程周次范围列位置, 课程表起始列位置, 课程表一周正课天数, json字典
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KCB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 课程表Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KCBMapper extends BaseMapper<KCB> {
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.roomroot.jwgl.entity.KCBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 课程标准 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KCBZMapper extends BaseMapper<KCBZ> {
|
||||
|
||||
/**
|
||||
* 分页查询课程标准列表
|
||||
*/
|
||||
Page<KCBZ> selectPageList(Page<KCBZ> page, @Param("kcbz") KCBZ kcbz);
|
||||
|
||||
/**
|
||||
* 查询某课程的所有版本
|
||||
*/
|
||||
List<KCBZ> selectVersionsByCourse(@Param("kbh") String kbh);
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
<?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.roomroot.jwgl.mapper.KCBZMapper">
|
||||
|
||||
<!-- 课程标准结果映射 -->
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KCBZ">
|
||||
<result column="编号" property="bh"/>
|
||||
<result column="课编号" property="kbh"/>
|
||||
<result column="名称" property="mc"/>
|
||||
<result column="适用专业" property="syzy"/>
|
||||
<result column="课次数" property="kcs"/>
|
||||
<result column="备注" property="bz"/>
|
||||
<result column="执行人编号" property="zxrbh"/>
|
||||
<result column="执行时间" property="zxsj"/>
|
||||
<result column="执行状态" property="zxzt"/>
|
||||
<result column="上报状态" property="sbzt"/>
|
||||
<result column="上报时间" property="sbsj"/>
|
||||
<result column="上报人编号" property="sbrbh"/>
|
||||
<result column="撤回原因" property="chyy"/>
|
||||
<result column="正文" property="zw"/>
|
||||
<result column="JSONZD" property="jsonzd"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询列 -->
|
||||
<sql id="Base_Column_List">
|
||||
编号, 课编号, 名称, 适用专业, 课次数, 备注, 执行人编号, 执行时间,
|
||||
执行状态, 上报状态, 上报时间, 上报人编号, 撤回原因, 正文, JSONZD
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询(支持按课编号精确、名称和适用专业模糊匹配) -->
|
||||
<select id="selectPageList" resultMap="BaseResultMap">
|
||||
SELECT *
|
||||
FROM 课程标准
|
||||
WHERE 撤回原因 IS NULL
|
||||
<if test="kcbz.kbh != null and kcbz.kbh != ''">
|
||||
AND 课编号 = #{kcbz.kbh}
|
||||
</if>
|
||||
<if test="kcbz.mc != null and kcbz.mc != ''">
|
||||
AND 名称 LIKE CONCAT('%', #{kcbz.mc}, '%')
|
||||
</if>
|
||||
<if test="kcbz.syzy != null and kcbz.syzy != ''">
|
||||
AND 适用专业 LIKE CONCAT('%', #{kcbz.syzy}, '%')
|
||||
</if>
|
||||
ORDER BY 课编号, 编号
|
||||
</select>
|
||||
|
||||
<!-- 查询某课程的所有版本 -->
|
||||
<select id="selectVersionsByCourse" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"/>
|
||||
FROM 课程标准
|
||||
WHERE 课编号 = #{kbh}
|
||||
ORDER BY 编号 DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KCJXYX_CZRZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface KCJXYX_CZRZMapper extends BaseMapper<KCJXYX_CZRZ> {}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?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.roomroot.jwgl.mapper.KCJXYX_CZRZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KCJXYX_CZRZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="统一编号" property="tybh" />
|
||||
<result column="操作类型" property="czlx" />
|
||||
<result column="操作内容" property="cznr" />
|
||||
<result column="操作人编号" property="czrbh" />
|
||||
<result column="操作时间" property="czsj" />
|
||||
<result column="操作IP" property="czip" />
|
||||
<result column="原数据快照" property="ysjkz" />
|
||||
<result column="新数据快照" property="xsjkz" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 统一编号, 操作类型, 操作内容, 操作人编号, 操作时间, 操作IP, 原数据快照, 新数据快照
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KLXB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 课类型表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KLXBMapper extends BaseMapper<KLXB> {
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?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.roomroot.jwgl.mapper.KLXBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KLXB">
|
||||
<result column="课类型" property="kLX" />
|
||||
<result column="备注" property="bZ" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
课类型, 备注
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KSB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 考试表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KSBMapper extends BaseMapper<KSB> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KSBZXM;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 账户管理接口鉴权数据访问接口。
|
||||
*
|
||||
* <p>该 Mapper 只读取现有在线用户记录,不参与登录、账户资料或角色绑定业务。</p>
|
||||
*/
|
||||
@Mapper
|
||||
public interface KSBZXMMapper extends BaseMapper<KSBZXM> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?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.roomroot.jwgl.mapper.KSBZXMMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSBZXM">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="性质" property="xz" />
|
||||
<result column="依据" property="yj" />
|
||||
<result column="开始日期" property="ksrq" />
|
||||
<result column="结束日期" property="jsrq" />
|
||||
<result column="天数" property="ts" />
|
||||
<result column="基本课时量" property="jbksl" />
|
||||
<result column="课时类型" property="kslx" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
<result column="提交人账号" property="tjrzh" />
|
||||
<result column="提交状态" property="tjzt" />
|
||||
<result column="提交时间" property="tjsj" />
|
||||
<result column="审批人编号" property="sprbh" />
|
||||
<result column="审批状态" property="spzt" />
|
||||
<result column="审批时间" property="spsj" />
|
||||
<result column="项目类型" property="xmlx" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 性质, 依据, 开始日期, 结束日期, 天数, 基本课时量, 课时类型, 说明, 备注, 创建时间, 修改时间, 提交人账号, 提交状态, 提交时间, 审批人编号, 审批状态, 审批时间, 项目类型
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KSFBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 课时费标准 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KSFBZMapper extends BaseMapper<KSFBZ> {
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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.roomroot.jwgl.mapper.KSFBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSFBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="默认标准课时量" property="mrbzksl" />
|
||||
<result column="默认课时费标准" property="mrksfbz" />
|
||||
<result column="默认超量课时费标准" property="mrclksfbz" />
|
||||
<result column="相关教学补助课时费标准" property="xgjxbzksfbz" />
|
||||
<result column="绩效优秀补助" property="jxyxbz" />
|
||||
<result column="绩效良好补助" property="jxlhbz" />
|
||||
<result column="绩效中等补助" property="jxzdbz" />
|
||||
<result column="绩效及格补助" property="jxjgbz" />
|
||||
<result column="绩效不及格补助" property="jxbjgbz" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 默认标准课时量, 默认课时费标准, 默认超量课时费标准, 相关教学补助课时费标准, 绩效优秀补助, 绩效良好补助, 绩效中等补助, 绩效及格补助, 绩效不及格补助, 说明, 备注, 创建时间, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KSHBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface KSHBZMapper extends BaseMapper<KSHBZ> {}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?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.roomroot.jwgl.mapper.KSHBZMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSHBZ">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="主讲教师课时系数" property="zjjyksxs" />
|
||||
<result column="辅讲教师课时系数" property="fjjyksxs" />
|
||||
<result column="讲授方式系数" property="jsfsxs" />
|
||||
<result column="考试主讲系数" property="kszjxs" />
|
||||
<result column="考试指导教师系数" property="kszdjsxs" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 主讲教师课时系数, 辅讲教师课时系数, 讲授方式系数, 考试主讲系数, 考试指导教师系数, 说明, 创建时间, 修改时间
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KSTJB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 课时统计表 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KSTJBMapper extends BaseMapper<KSTJB> {
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?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.roomroot.jwgl.mapper.KSTJBMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSTJB">
|
||||
<result column="年份" property="nF" />
|
||||
<result column="教员编号" property="jYBH" />
|
||||
<result column="上半年" property="sBN" />
|
||||
<result column="下半年" property="xBN" />
|
||||
<result column="职称" property="zC" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
年份, 教员编号, 上半年, 下半年, 职称
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KSXSFA;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 课时系数方案 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KSXSFAMapper extends BaseMapper<KSXSFA> {
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?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.roomroot.jwgl.mapper.KSXSFAMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.roomroot.jwgl.entity.KSXSFA">
|
||||
<result column="编号" property="bh" />
|
||||
<result column="名称" property="mc" />
|
||||
<result column="说明" property="sm" />
|
||||
<result column="备注" property="bz" />
|
||||
<result column="创建时间" property="cjsj" />
|
||||
<result column="修改时间" property="xgsj" />
|
||||
<result column="辅讲课时系数" property="fjksxs" />
|
||||
<result column="满班学员人数" property="mbxyrs" />
|
||||
<result column="递增10学员班级系数" property="dz10xybjxs" />
|
||||
<result column="班级系数上限" property="bjxssx" />
|
||||
<result column="第78节课时量" property="d78jksl" />
|
||||
<result column="夜间课时量" property="yjksl" />
|
||||
<result column="主讲课时系数" property="zjksxs" />
|
||||
<result column="默认课堂教学方法系数" property="mrktjxffxs" />
|
||||
<result column="合班系数增量" property="hbxszl" />
|
||||
<result column="合班系数上限" property="hbxssx" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
编号, 名称, 说明, 备注, 创建时间, 修改时间, 辅讲课时系数, 满班学员人数, 递增10学员班级系数, 班级系数上限, 第78节课时量, 夜间课时量, 主讲课时系数, 默认课堂教学方法系数, 合班系数增量, 合班系数上限
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.KTBZ;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 课堂标准 Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface KTBZMapper extends BaseMapper<KTBZ> {
|
||||
|
||||
/**
|
||||
* 根据课程标准编号查询课堂列表
|
||||
*/
|
||||
List<KTBZ> selectByKcbh(@Param("kcbh") String kcbh);
|
||||
|
||||
/**
|
||||
* 根据课程标准编号物理删除所有课堂
|
||||
*/
|
||||
int deleteByKcbh(@Param("kcbh") String kcbh);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user