严智鑫
2023-12-22 f97869ecbca676c64047914e5c07fead6f814bb8
ºÓ±±ÍûÃÀÏîÄ¿/MES_11/src/main/webapp/WEB-INF/views/mes/data/public_manage.jsp
@@ -31,7 +31,7 @@
         }
         if ("当前班组".equals(leixing)) {
            gongyi = gongyi.contains("钢化") ? "钢化" : gongyi;
            strSQL = "select banzu from gmms_user_current where gongyi= '" + gongyi + "' and chanxian = "
            strSQL = "select banzu,isPaused from gmms_user_current where gongyi= '" + gongyi + "' and chanxian = "
                  + line;
         }
         if ("流程卡详情".equals(leixing)) {
@@ -164,7 +164,7 @@
      if ("修改".equals(caozuo)) {
         if ("变更班组".equals(leixing)) {
            String bzinfo = request.getParameter("info");
            strSQL = "update gmms_user_current set banzu = '" + bzinfo + "' where gongyi = '" + gongyi
            strSQL = "update gmms_user_current set banzu = '" + bzinfo + "',isPaused=null where gongyi = '" + gongyi
                  + "' and chanxian = " + line;
         }
         if("次破".equals(leixing)){
@@ -329,6 +329,10 @@
         sn.createSql(strSQL);
         int s = sn.update();
         out.print(s);
         String bzSQL = "update gmms_user_current set isPaused='暂停' where gongyi = '磨边' and chanxian = " + line;
         sn.createSql(bzSQL);
         int ps = sn.update();
      }