md
This commit is contained in:
parent
0ff76b9f65
commit
1e0e196eef
@ -83,4 +83,7 @@ public interface EmisCustomerUserMapper extends BaseMapper<EmisCustomerUser>
|
|||||||
public EmisCustomerUser selectMonthCustomerByName(String name);
|
public EmisCustomerUser selectMonthCustomerByName(String name);
|
||||||
|
|
||||||
|
|
||||||
|
public EmisCustomerUser selectMonthCustomerByMonthlyPayCode(String monthlyPayCode);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1131,13 +1131,7 @@ public class EmisBaseService {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public EmisCustomerUser getCustomerUserByMonthlyPayCode(String monthlyPayCode){
|
public EmisCustomerUser getCustomerUserByMonthlyPayCode(String monthlyPayCode){
|
||||||
EmisCustomerUser queryEmisCustomerUser = new EmisCustomerUser();
|
return emisCustomerUserMapper.selectMonthCustomerByMonthlyPayCode(monthlyPayCode);
|
||||||
queryEmisCustomerUser.setMonthlyPayCode(monthlyPayCode);
|
|
||||||
List<EmisCustomerUser> list=emisCustomerUserMapper.selectEmisCustomerUserList(queryEmisCustomerUser);
|
|
||||||
if(CollectionUtils.isEmpty(list)){
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return list.get(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -386,4 +386,11 @@
|
|||||||
where a.del_flag='0' and a.customer_type='2' and a.customer_name = #{customerName}
|
where a.del_flag='0' and a.customer_type='2' and a.customer_name = #{customerName}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="selectMonthCustomerByMonthlyPayCode" parameterType="string" resultMap="EmisCustomerUserResult">
|
||||||
|
select id, customer_code, customer_name, customer_name_en, simple_name, contact, phone, mobile, customer_type, settled_type, user_type, company, lic_no, dept_id, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, biz_site, biz_site_name, country, province, city, county, town, address, email, post_code, real_name, id_no, payee, salesmen, data_from, bl_open_oms, bl_sms, op_emp_code, first_signing_day, status, order_num, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||||
|
from emis_customer_user a
|
||||||
|
where a.del_flag='0' and a.customer_type='2' and a.monthly_pay_code= #{monthlyPayCode}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue
Block a user