18 lines
639 B
Plaintext
18 lines
639 B
Plaintext
<%@ page contentType="text/html; charset=UTF-8" %>
|
|
<%@ page import="weaver.general.Util" %>
|
|
<%@ page import="com.alibaba.fastjson.JSONObject" %>
|
|
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page" />
|
|
<%
|
|
JSONObject jsonObject = new JSONObject();
|
|
boolean flag = false;
|
|
String gwmc = Util.null2String(request.getParameter("gwmc"));
|
|
|
|
rs.executeQuery("select * from hrmjobtitles where 1=1 and (canceled is null or canceled='0') and (jobtitlename=? or jobtitlemark=?)",gwmc,gwmc);
|
|
if(rs.next()) {
|
|
flag = true;
|
|
}
|
|
jsonObject.put("flag",flag);
|
|
out.print(JSONObject.toJSONString(jsonObject));
|
|
%>
|
|
|