巡检加载超时优化2

master
zhaoxiaolin 1 year ago
parent fefc4ea927
commit 2e2e572fad

@ -47,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if> <if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
<if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if> <if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if>
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if> <if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<if test="recoil != null and recoil != ''"> and recoil = #{recoil}</if>
and del_flag = '0' and del_flag = '0'
</where> </where>
</select> </select>

@ -466,7 +466,7 @@ public class OpenServiceImpl implements OpenService {
try { try {
StringBuilder postDataBuilder = new StringBuilder(); StringBuilder postDataBuilder = new StringBuilder();
postDataBuilder.append("createTime=").append("dateTime"); postDataBuilder.append("createTime=").append("dateTime");
String result = HttpUtils.sendPost("http://lj.lanju.cn:8801/outside/api/mes/getUserList.do",postDataBuilder.toString()); String result = HttpUtils.sendPost(hr_url,postDataBuilder.toString());
return success(result); return success(result);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();

Loading…
Cancel
Save