mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-29 21:11:57 +08:00
优化导入
This commit is contained in:
@@ -41,7 +41,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where ID = #{id}
|
||||
</select>
|
||||
<select id="getMyBasketBallTeam" resultType="com.ruoyi.system.domain.WxBasketballTeam">
|
||||
|
||||
select * from basketball_team t where t.is_deleted=0
|
||||
<if test="createdId != null ">
|
||||
AND t.created_id=#{createdId}
|
||||
</if>
|
||||
<if test="teamName != null and teamName != ''">
|
||||
AND t.team_name like CONCAT('%',#{teamName},'%')
|
||||
</if>
|
||||
<if test="teamDes != null and teamDes != ''">
|
||||
AND t.team_des like CONCAT('%',#{teamDes},'%')
|
||||
</if>
|
||||
<if test="buildId != null ">
|
||||
AND t.build_id=#{buildId}
|
||||
</if>
|
||||
<if test="id != null ">
|
||||
AND t.id=#{id}
|
||||
</if>
|
||||
order by t.created_time desc
|
||||
</select>
|
||||
|
||||
<insert id="insertWxBasketballTeam" parameterType="WxBasketballTeam" useGeneratedKeys="true" keyProperty="id">
|
||||
|
||||
@@ -98,8 +98,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND created_id=#{createdId}
|
||||
</if>
|
||||
</select>
|
||||
<select id="getAuditPage" resultType="com.ruoyi.system.domain.WxBuildingInfo">
|
||||
SELECT * FROM `building_info` where 1=1
|
||||
<select id="getAuditPage" parameterType="WxBuildingInfo" resultMap="WxBuildingInfoResult">
|
||||
SELECT * FROM building_info where 1=1
|
||||
<if test="status != null and status != ''">
|
||||
AND status=#{status}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user