|
@@ -1388,10 +1388,11 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
@Override
|
|
|
public List<CustomerCommon> listCustomerCommons(CustomerCommon customerCommon) {
|
|
|
List<CustomerCommon> customerCommonList = new ArrayList<>();
|
|
|
- customerCommonList.add(customerCommon);
|
|
|
- for (CustomerCommon c : customerCommonList) {
|
|
|
+
|
|
|
+ for (int i = 0; i <= 0; i++) {
|
|
|
+ CustomerCommon c = customerCommon;
|
|
|
RelationOrder relationOrder = new RelationOrder();
|
|
|
- relationOrder.setRelationId(c.getRelationId());
|
|
|
+ relationOrder.setRelationCustomerId(c.getCustomerId());
|
|
|
List<RelationOrder> relationOrderList = relationOrderMapper.getRelationOrderList(relationOrder);
|
|
|
List<SalesOrder> orderList = new ArrayList<>();
|
|
|
for (RelationOrder ro : relationOrderList) {
|
|
@@ -1418,6 +1419,7 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
ComplaintSignclosedInfo record = new ComplaintSignclosedInfo();
|
|
|
record.setSignclosedCustomerId(c.getCustomerId());
|
|
|
c.setSignclosedInfos(complaintSignclosedInfoMapper.listSignclosed(record));
|
|
|
+ customerCommonList.add(c);
|
|
|
}
|
|
|
return customerCommonList;
|
|
|
}
|