@@ -519,6 +519,9 @@ public class TRmCalpointController extends BaseRESTfulController {
}
parmas.put("costid", costid);
+ if("true".equals(parmas.get("correct").toString())){
+ parmas.put("CORRECTVALUE", "0");
+ }
PageList<Map<String, Object>> list = tRmCalpointService.getDate312ForPage(parmas, pageNum, pageSize);
return success(list);
@@ -1375,6 +1375,9 @@
<if test="itemtype != null and itemtype != ''">
and ITEMTYPE = #{itemtype}
</if>
+ <if test="CORRECTVALUE != null and CORRECTVALUE != ''">
+ and CORRECTVALUE != #{CORRECTVALUE}
+ </if>
order by clock,t.itemid
</select>