xiacm hace 3 años
padre
commit
e7a889606d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      wwwroot/mes/pc/mouldDailyPlan/mouldDailyPlan.ashx

+ 1 - 1
wwwroot/mes/pc/mouldDailyPlan/mouldDailyPlan.ashx

@@ -90,7 +90,7 @@ public class mouldDailyPlan : IHttpHandler, IReadOnlySessionState
                 List<CDAParameter> sqlPara = new List<CDAParameter>();
                 List<CDAParameter> sqlPara = new List<CDAParameter>();
                 sqlPara.Add(new CDAParameter("planid", planid));
                 sqlPara.Add(new CDAParameter("planid", planid));
                 
                 
-                sqlStr += " order by mdd.workshop,mg.goodsname,gl.groutinglinecode ";
+                sqlStr += " order by mdd.workshop,gl.groutinglinecode,mg.goodsname ";
                 try
                 try
                 {
                 {
                     JsonResult data = Easyui.ExecuteJsonResult(conn, sqlStr, sqlPara);
                     JsonResult data = Easyui.ExecuteJsonResult(conn, sqlStr, sqlPara);