|
|
@@ -207,13 +207,14 @@
|
|
|
and pid = #{pid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
</select>
|
|
|
- <select id="selectPrivteByAid">
|
|
|
- select count(*)
|
|
|
- from restrict_project
|
|
|
- where type=1
|
|
|
- and aid = #{aid,jdbcType=VARCHAR}
|
|
|
+ <select id="selectPrivateByAid" resultType="java.lang.Integer">
|
|
|
+ select count(*)
|
|
|
+ from restrict_project
|
|
|
+ where type=1
|
|
|
+ and aid = #{aid,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
+
|
|
|
<update id="updateRelease">
|
|
|
update restrict_project set release_time = now(),type=0
|
|
|
where id in
|