Antiloveg 8 gadi atpakaļ
vecāks
revīzija
871424a6d8

+ 1 - 1
src/main/java/com/goafanti/common/mapper/ContractMapper.xml

@@ -522,7 +522,7 @@
     <include refid="Base_Column_List" />
     from contract
     where uid = #{uid,jdbcType=VARCHAR}
-    and year = #{year,jdbcType=INTEGER}
+    and cognizance_year = #{year,jdbcType=INTEGER}
     and deleted_sign = 0
   </select>
 </mapper>