修改企业注册重复问题。
This commit is contained in:
@@ -121,4 +121,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="selectByCode" resultType="com.ruoyi.common.core.domain.entity.Company">
|
||||
<include refid="selectCompanyVo"/>
|
||||
<where> del_flag = '0'
|
||||
<if test="code != null and code != ''"> AND UPPER(code) = UPPER(#{code})</if>
|
||||
</where>
|
||||
order by create_time desc limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user