wuwen 3 years ago
parent
commit
8503457542

+ 2 - 2
src/main/java/com/ssj/dao/kmt/correctsys/impl/CorrectSysQueryDaoImpl.java

@@ -774,7 +774,7 @@ public class CorrectSysQueryDaoImpl implements CorrectSysQueryDao {
            sb.append(" LEFT JOIN tb_lib_vip t2 ON t1.vip_id = t2.id ");
            sb.append(" LEFT JOIN scon_homework_picture_correct hpc ON t1.id = hpc.homework_picture_id AND hpc.type = 8  ");
            sb.append(" WHERE ");
-           sb.append(" m1.inspector_id =?  ");
+           sb.append(" t1.correct_time is not null and m1.inspector_id =?  ");
            queryparams.add(params.get("inspectorId"));
            
            if(params.get("childName")!=null && StringUtils.isNotEmpty(params.get("childName").toString())) {
@@ -817,7 +817,7 @@ public class CorrectSysQueryDaoImpl implements CorrectSysQueryDao {
          sb.append(" LEFT JOIN tb_lib_vip t2 ON t1.vip_id = t2.id ");
          sb.append(" LEFT JOIN scon_homework_picture_correct hpc ON t1.id = hpc.homework_picture_id AND hpc.type = 8  ");
          sb.append(" WHERE ");
-         sb.append(" m1.inspector_id =?  ");
+         sb.append(" t1.correct_time is not null and m1.inspector_id =?  ");
          queryparams.add(inspectorId);
          
          if(StringUtils.isNotEmpty(childName)) {