mybatis 范围查询

日期范围查询


  AND a.VISIT_DATE =]]> STR_TO_DATE(#{optometryTimeStart},'%Y-%m-%d')


  AND a.VISIT_DATE  STR_TO_DATE(#{optometryTimeEnd},'%Y-%m-%d')

数字范围查询


  AND b.FARWORTH =]]> #{farworthStart}


  AND b.FARWORTH  #{farworthEnd}

你可能感兴趣的:(开发经验)