|
|
@@ -108,7 +108,7 @@ public class CustomerService extends BaseService<Customer> {
|
|
|
|
|
|
|
|
|
//设置公司id
|
|
|
- customer.setCpId(authUtils.getStaff().getCpId());
|
|
|
+// customer.setCpId(authUtils.getStaff().getCpId());
|
|
|
//报备人
|
|
|
customer.setReportStaff(authUtils.getStaff().getStaffId());
|
|
|
//报备日期
|
|
|
@@ -136,7 +136,11 @@ public class CustomerService extends BaseService<Customer> {
|
|
|
return ResponseResultUtil.success();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ /**
|
|
|
+ * @desc : 跟据id查询
|
|
|
+ * @author : 于继渤
|
|
|
+ * @date : 2023/1/5 9:39
|
|
|
+ */
|
|
|
public ResponseResultVO<CustomerResponse> selectByIdRespone(@PathVariable String id) {
|
|
|
CustomerResponse customerResponse = customerMapper.selectByIdRespone(id);
|
|
|
if (customerResponse == null) {
|
|
|
@@ -144,7 +148,11 @@ public class CustomerService extends BaseService<Customer> {
|
|
|
}
|
|
|
return ResponseResultUtil.success(customerResponse);
|
|
|
}
|
|
|
-
|
|
|
+ /**
|
|
|
+ * @desc : 不分页查询
|
|
|
+ * @author : 于继渤
|
|
|
+ * @date : 2023/1/5 9:39
|
|
|
+ */
|
|
|
public ResponseResultVO<List<CustomerResponse>> selectByCondNoPage(CustomerQuery customerQuery) {
|
|
|
List<CustomerResponse> customerResponses = customerMapper.selectByCond(customerQuery);
|
|
|
return ResponseResultUtil.success(customerResponses);
|