Index: ssts-recyclingrecord/src/main/java/com/forgon/disinfectsystem/recyclingrecord/service/RecyclingRecordListSqlGenerator.java =================================================================== diff -u -r37496 -r37497 --- ssts-recyclingrecord/src/main/java/com/forgon/disinfectsystem/recyclingrecord/service/RecyclingRecordListSqlGenerator.java (.../RecyclingRecordListSqlGenerator.java) (revision 37496) +++ ssts-recyclingrecord/src/main/java/com/forgon/disinfectsystem/recyclingrecord/service/RecyclingRecordListSqlGenerator.java (.../RecyclingRecordListSqlGenerator.java) (revision 37497) @@ -271,7 +271,7 @@ if(CssdUtils.getSystemSetConfigByNameBool("confirmRecyclingAmount",false)){ recyclingAmountNeedConfirmOrder = "case r.recycleAmountNeedConfirm when '" + Constants.STR_YES + "' then 0 else 1 end,"; } - String tousseMaterialsLostMustConfirmOrder = CssdUtils.getSystemSetConfigByNameBool("tousseMaterialsLostMustConfirm", false)? + String tousseMaterialsLostMustConfirmOrder = CssdUtils.getSystemSetConfigByNameBool("tousseMaterialsLostMustConfirm", true)? "case when r.status='"+ RecyclingRecord.STATUS_UNCONFIRMED +"' then 0 else 1 end,":""; if (dbConnection.isSqlServer()) { sql = " SELECT * FROM (SELECT "