@@ -531,11 +531,13 @@
<include refid="Base_Column_List" />
from contract
where cognizance_year =
- (select
+ (
+ select
Max(cognizance_year)
where uid = #{uid,jdbcType=VARCHAR}
and deleted_sign = 0
)
+ and uid = #{uid,jdbcType=VARCHAR}
</select>
</mapper>