@ -310,12 +310,12 @@ namespace QMAPP.FJC.DAL.ProductionPlan
{
case 1:
sql.AppendFormat(" AND W.[STATE]<>4 ");
sql.AppendFormat(" AND W.[STATE]<>4 AND W.[STATE]<>2");
break;
}
case 2:
sql.AppendFormat(" AND W.[STATE]=4 ");
sql.AppendFormat(" AND W.[STATE]=4 AND W.[STATE]<>2");