移动端地块中的种植历史接口返回数据错误,未根据地块返回相应地块的种植历史

main
862857010@qq.com 2 years ago
parent 25a9553cf0
commit c7d1d7b2b7
  1. 3
      cjy-module-traceability/cjy-module-traceability-biz/src/main/resources/mapper/growrecord/GrowRecordMapper.xml

@ -46,6 +46,9 @@
<if test="reqVO.endTime !=null and reqVO.endTime!=''"> <if test="reqVO.endTime !=null and reqVO.endTime!=''">
and t1.end_time between #{reqVO.endTime[0]} and #{reqVO.endTime[1]} and t1.end_time between #{reqVO.endTime[0]} and #{reqVO.endTime[1]}
</if> </if>
<if test="reqVO.blockId !=null and reqVO.blockId!='' ">
and t5.id=#{reqVO.blockId}
</if>
order by t1.create_time desc order by t1.create_time desc
</select> </select>
<select id="getDataCount" resultType="java.lang.Integer"> <select id="getDataCount" resultType="java.lang.Integer">

Loading…
Cancel
Save