Commit 75fce46f by hzc

测试

parent 2c12ba63
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
<select id="selectByCatalogIdAndIndName" resultType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAudit" <select id="selectByCatalogIdAndIndName" resultType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAudit"
parameterType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAuditParams"> parameterType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAuditParams">
select * from base_ind_def_audit select * from base_ind_def_audit
where status != 4 and ind_name=#{indName} and catalog_id = #{catalogId} where status in(2,3) and ind_name=#{indName} and catalog_id = #{catalogId}
</select> </select>
<select id="getMaxIndId" resultType="java.lang.String"> <select id="getMaxIndId" resultType="java.lang.String">
select (max(CAST(ind_id as SIGNED INTEGER))+1) as maxId select (max(CAST(ind_id as SIGNED INTEGER))+1) as maxId
from base_ind_def from base_ind_def_audit
where ind_id like #{code} and LENGTH(ind_id)=#{length} where ind_id like #{code} and LENGTH(ind_id)=#{length}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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