Antiloveg 8 years ago
parent
commit
871424a6d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/ContractMapper.xml

+ 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>