Commit ada43cc2 authored by limei's avatar limei

接口修改

parent d35e8513
......@@ -5,7 +5,7 @@
<select id="selectByOrgCode" resultType="com.yeejoin.amos.boot.module.tdc.api.dto.CheckModelDto">
select `*`,'●' as circle from tdc_model
<where>
<if test = "amosOrgCode != null and amosOrgCode != '' and amosOrgCode != 50 ">
<if test = "amosOrgCode != null and amosOrgCode != '' and amosOrgCode != '50' ">
and amos_org_code=#{amosOrgCode}
</if>
</where>
......
......@@ -270,7 +270,7 @@ public class CheckModelImpl extends ServiceImpl<CheckModelMapper, CheckModel> im
}
String modelRule = jsonObject.getString("model_rule");
if(!ValidationUtil.isEmpty(modelRule)){
modelRule = modelRule.substring(modelRule.indexOf("/"),modelRule.indexOf("."));
modelRule = modelRule.substring(modelRule.indexOf("/")+1,modelRule.indexOf("."));
}
JSONArray modelFile = jsonObject.getJSONArray("model_file");
String fileUrl = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment