master
20918 1 year ago
parent e6d28882df
commit d69e2171e7

@ -4,6 +4,7 @@
<option name="state">
<map>
<entry key="file://$PROJECT_DIR$/web/auth.jsp" value="file://$PROJECT_DIR$/web" />
<entry key="file://$PROJECT_DIR$/web/zhyw/smry/rydj/EmpState.jsp" value="file://$PROJECT_DIR$/web/zhyw/smry/rydj" />
</map>
</option>
</component>

@ -241,7 +241,6 @@ public class MenuManageServlet extends DispatchServlet
String menuid = request.getParameter("menuid");
String upMenuid = request.getParameter("upmenuid");
String type = request.getParameter("type");
log.debug("type=========="+type);
if (upMenuid.equals("")) {
root.addContent(new OptionsBean("branch").toXML());
} else {

@ -30,7 +30,7 @@ public static String createDepartId(HttpServletRequest request,HttpServletRespon
String departId="";
Login login=(Login)request.getSession().getAttribute("login");
try {
conn=DbConn.getConn();//093010 0000
conn=DbConn.getConn();//0930 10 0000
String queryDepartId="select max(substr(departid,7,4)) departId from tab_department";
String queryFrameworkId="select frameworkid from tab_framework";
String queryAreaId="select areaid from tab_department where departid=?";
@ -39,6 +39,12 @@ public static String createDepartId(HttpServletRequest request,HttpServletRespon
HashFmlBuf areaBuf=(HashFmlBuf)JDBCUtils.query(conn, queryAreaId,new Object[]{login.getDepartid()},new HashFmlBufResultSetHandler());
String framework=frameworkBuf.fget("frameworkid",0);
String area=areaBuf.fget("areaid",0);
String areaid = request.getParameter("qj");
String frameworkid = request.getParameter("sj");
String departInfo=departBuf.fget("departId",0);
String departids="";
int departno=0;
@ -62,7 +68,7 @@ public static String createDepartId(HttpServletRequest request,HttpServletRespon
}else{
departids=departno+"";
}
departId=framework+area+departids; //0930 10 101
departId=frameworkid+areaid+departids; //0930 10 101
return departId;
} catch (Exception e) {
// TODO: handle exception

Loading…
Cancel
Save