Commit 29bce609 by 杨林龙

注册客户初始化状态为待审状态 yangll

1 parent f039c79d
......@@ -75,6 +75,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
String city = customerMapper.getAddressStr(customer.getCity());
String area = customerMapper.getAddressStr(customer.getArea());
customer.setAddress(province + city + area + customer.getAddress());
customer.setStatus(2);
return customerMapper.register(customer);
}
......
......@@ -74,6 +74,9 @@
<if test="city != null">
city,
</if>
<if test="area != null">
area,
</if>
<if test="address != null and address != ''">
address,
</if>
......@@ -122,6 +125,9 @@
<if test="city != null">
#{city,jdbcType=INTEGER},
</if>
<if test="area != null">
#{area,jdbcType=INTEGER},
</if>
<if test="address != null and address != ''">
#{address,jdbcType=VARCHAR},
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!