|
@ -47,16 +47,20 @@ |
|
|
select * from epdc_enterprise_info t |
|
|
select * from epdc_enterprise_info t |
|
|
where DEL_FLAG = '0' |
|
|
where DEL_FLAG = '0' |
|
|
<if test="enterpriseName != null and enterpriseName != ''"> |
|
|
<if test="enterpriseName != null and enterpriseName != ''"> |
|
|
AND ENTERPRISE_NAME = #{enterpriseName} |
|
|
<bind name="enterpriseName_like" value="'%'+enterpriseName+'%'"/> |
|
|
|
|
|
AND ENTERPRISE_NAME like #{enterpriseName_like} |
|
|
</if> |
|
|
</if> |
|
|
<if test="mobile != null and mobile != ''"> |
|
|
<if test="mobile != null and mobile != ''"> |
|
|
AND MOBILE = #{mobile} |
|
|
<bind name="mobile_like" value="'%'+mobile+'%'"/> |
|
|
|
|
|
AND MOBILE like #{mobile_like} |
|
|
</if> |
|
|
</if> |
|
|
<if test="uniformSocialCreditCode != null and uniformSocialCreditCode != ''"> |
|
|
<if test="uniformSocialCreditCode != null and uniformSocialCreditCode != ''"> |
|
|
AND UNIFORM_SOCIAL_CREDIT_CODE = #{uniformSocialCreditCode} |
|
|
<bind name="uniformSocialCreditCode_like" value="'%'+uniformSocialCreditCode+'%'"/> |
|
|
|
|
|
AND UNIFORM_SOCIAL_CREDIT_CODE like #{uniformSocialCreditCode_like} |
|
|
</if> |
|
|
</if> |
|
|
<if test="legalPerson != null and legalPerson != ''"> |
|
|
<if test="legalPerson != null and legalPerson != ''"> |
|
|
AND LEGAL_PERSON = #{legalPerson} |
|
|
<bind name="legalPerson_like" value="'%'+legalPerson+'%'"/> |
|
|
|
|
|
AND LEGAL_PERSON like #{legalPerson_like} |
|
|
</if> |
|
|
</if> |
|
|
<if test="streetId != null and streetId != ''"> |
|
|
<if test="streetId != null and streetId != ''"> |
|
|
AND (find_in_set(#{streetId},PARENT_DEPT_IDS) |
|
|
AND (find_in_set(#{streetId},PARENT_DEPT_IDS) |
|
@ -96,4 +100,4 @@ |
|
|
</if> |
|
|
</if> |
|
|
and DEL_FLAG = '0' |
|
|
and DEL_FLAG = '0' |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |
|
|