customerId从Long型改为String型,

zhairh
anthonyywj2 3 years ago
parent 5214b9a136
commit 0b6a80c0a7

@ -43,7 +43,7 @@
</where>
</select>
<select id="selectDetail" parameterType="java.lang.Long"
<select id="selectDetail" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.auth.CustomerDetailEntity">
SELECT customer_info.customerId,
customer_info.customerName,
@ -100,14 +100,14 @@
</update>
<delete id="deleteById" parameterType="java.lang.Long">
<delete id="deleteById" parameterType="java.lang.String">
delete
from customer_info
where customerId = #{customerId}
</delete>
<select id="selectById" parameterType="java.lang.Long"
<select id="selectById" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.auth.CustomerInfoEntity">
SELECT *
FROM customer_info

@ -67,7 +67,7 @@
where id = #{id}
</delete>
<delete id="deleteByCustomerId" parameterType="java.lang.Long">
<delete id="deleteByCustomerId" parameterType="java.lang.String">
delete
from user_register
where userId = #{userId}
@ -86,7 +86,7 @@
WHERE mobile = #{phone}
</select>
<select id="selectByCustomerId" parameterType="java.lang.Long"
<select id="selectByCustomerId" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.auth.UserRegisterEntity">
SELECT *
FROM user_register

@ -14,7 +14,7 @@
ORDER BY id DESC
</select>
<select id="findCompanyCert" parameterType="java.lang.Long"
<select id="findCompanyCert" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.info.CompanyCertEntity">
SELECT *
FROM company_cert

@ -4,7 +4,7 @@
<mapper namespace="com.glxp.sale.admin.dao.info.CompanyDao">
<select id="findCompany" parameterType="java.lang.Long"
<select id="findCompany" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.info.CompanyEntity">
SELECT *
FROM company

@ -159,7 +159,7 @@
</select>
<select id="findCompanyProductRelevance" parameterType="java.lang.Long"
<select id="findCompanyProductRelevance" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.info.CompanyProductRelevanceEntity">
SELECT *
FROM company_product_relevance

@ -20,7 +20,7 @@
ORDER BY id DESC
</select>
<select id="findCompanySalesman" parameterType="java.lang.Long"
<select id="findCompanySalesman" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.info.CompanySalesmanEntity">
SELECT * FROM company_salesman where customerId = #{customerId}
</select>

@ -23,7 +23,7 @@
ORDER BY id DESC
</select>
<select id="findCompanySalesmanUpdateLog" parameterType="java.lang.Long"
<select id="findCompanySalesmanUpdateLog" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.info.CompanySalesmanUpdateLogEntity">
SELECT * FROM company_salesman_update_log where customerId = #{customerId}
</select>

@ -26,7 +26,7 @@
ORDER BY id DESC
</select>
<select id="findCompanyUpdateLog" parameterType="java.lang.Long"
<select id="findCompanyUpdateLog" parameterType="java.lang.String"
resultType="com.glxp.sale.admin.entity.info.CompanyUpdateLogEntity">
SELECT * FROM company_update_log where customerId = #{customerId}
</select>

Loading…
Cancel
Save