Commit a0e93691 authored by sunyuhua's avatar sunyuhua

成绩审核的后台代码,删除之前没用的两个类

parent 7ebbe08f
package com.dlbridge.jadp.plugins.cmpt.dao.mapper;
public interface ScoreReviewMapper {
}
<?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.dlbridge.jadp.plugins.cmpt.dao.mapper.ScoreReviewMapper">
<select id="queryRoads" resultType="com.dlbridge.jadp.plugins.cmpt.bean.Road">
select road_id roadId,cmpt_id cmptId,road_name name,file_name fileName,file_url fileUrl,times,file_size fileSize
from gk_road
where cmpt_id = #{cmptId} and is_delete = 0
</select>
<update id="delete">
update gk_road set is_delete = 1 where road_id = #{roadId}
</update>
<update id="update">
update gk_road
<set>
<if test="road.name != null">
road_name = #{road.name},
</if>
<if test="road.fileSize > 0">
file_size = #{road.fileSize},
</if>
<if test="road.fileName != null">
file_name = #{road.fileName},
</if>
<if test="road.fileUrl != null">
file_url = #{road.fileUrl}
</if>
</set>
where road_id = #{road.roadId}
</update>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment