wanghui лет назад: 8
Родитель
Сommit
03d6b687cc

+ 1 - 1
src/main/java/com/goafanti/common/mapper/CustomerMapper.xml

@@ -397,7 +397,7 @@
   </update>
 	
 	  
-  <select id="selectCustomerByPrimaryKey" parameterType="java.lang.String" resultType="com.goafanti.customer.bo.CustomerBo">
+  <select id="selectCustomerByPrimaryKey" parameterType="java.lang.String" resultType="com.goafanti.customer.bo.CustomerOut">
     select 
     a.customer_typ as customerTyp,
     a.share_typ as shareTyp,

+ 2 - 2
src/main/java/com/goafanti/customer/controller/AdminCustomerApiController.java

@@ -18,7 +18,7 @@ import com.goafanti.customer.service.CustomerService;
 import com.goafanti.customer.service.CustomerUserService;
 import com.goafanti.admin.service.AdminService;
 import com.goafanti.common.bo.Result;
-import com.goafanti.common.controller.CertifyApiController;
+import com.goafanti.common.controller.BaseController;
 import com.goafanti.common.model.Admin;
 import com.goafanti.common.model.Customer;
 import com.goafanti.common.model.CustomerOrganizationInfo;
@@ -28,7 +28,7 @@ import com.goafanti.core.shiro.token.TokenManager;
 
 @RestController
 @RequestMapping(value = "/api/admin/customer")
-public class AdminCustomerApiController extends CertifyApiController {
+public class AdminCustomerApiController extends BaseController {
 
 	@Resource
 	private CustomerService customerService;

+ 1 - 0
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -59,6 +59,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<CustomerMapper> implemen
 		}
 	}
 
+	@SuppressWarnings("unchecked")
 	@Override
 	public Pagination<CustomerOut> getPrivateCustomer(CustomerIn cin, Integer pageSize, Integer pageNumber) {
 		cin.setShareTyp("0");