|
@@ -18,8 +18,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<sql id="selectUpdateAppVo">
|
|
|
select id, model,app_port, name, code, description, path, is_del, create_time from update_app
|
|
|
</sql>
|
|
|
+ <update id="updateUpdateAppAll" parameterType="org.dromara.domain.updateApp.UpdateApp">
|
|
|
+ update update_app set is_del = #{isDel}
|
|
|
+ where model = #{model} and app_port = #{appPort}
|
|
|
+ </update>
|
|
|
|
|
|
- <select id="getInfo" parameterType="UpdateApp" resultMap="UpdateAppResult">
|
|
|
+ <select id="getInfo" parameterType="org.dromara.domain.updateApp.UpdateApp" resultMap="UpdateAppResult">
|
|
|
<include refid="selectUpdateAppVo"/>
|
|
|
<where>
|
|
|
<if test="model != null and model != ''"> and model = #{model}</if>
|