|  | @@ -34,6 +34,9 @@ public class CustomerCommonServiceImpl implements CustomerCommonService {
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private SendFittingMapper sendFittingMapper;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private CustomerCommonMapper customerCommonMapper;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public CustomerCommon getListProduceAndFitting(CustomerCommon customerCommon) {
 | 
	
		
			
				|  |  |          ClosedFitting closedFitting = new ClosedFitting();
 | 
	
	
		
			
				|  | @@ -60,33 +63,34 @@ public class CustomerCommonServiceImpl implements CustomerCommonService {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | -    public List<CustomerCommon> ListCustomerCommon(CustomerCommon customerCommon) {
 | 
	
		
			
				|  |  | -        List<CustomerCommon> customerCommonList = new ArrayList<>();
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        /*换新*/
 | 
	
		
			
				|  |  | -        Renewed renewed = (Renewed)CustomerCommonUtil.getRelation(3,customerCommon);
 | 
	
		
			
				|  |  | -        List<Renewed> renewedList = renewedMapper.listRenewed(renewed);
 | 
	
		
			
				|  |  | -        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(3,renewedList));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -         /*维修*/
 | 
	
		
			
				|  |  | -        Repair repair = (Repair)CustomerCommonUtil.getRelation(4,customerCommon);
 | 
	
		
			
				|  |  | -        List<Repair> repairList = repairMapper.listRepair(repair);
 | 
	
		
			
				|  |  | -        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(4,repairList));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        /*补发*/
 | 
	
		
			
				|  |  | -        Reissue reissue = (Reissue)CustomerCommonUtil.getRelation(5,customerCommon);
 | 
	
		
			
				|  |  | -        List<Reissue> reissueList = reissueMapper.listReissue(reissue);
 | 
	
		
			
				|  |  | -        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(5,reissueList));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        /*退货*/
 | 
	
		
			
				|  |  | -        BackGoods backGoods = (BackGoods)CustomerCommonUtil.getRelation(6,customerCommon);
 | 
	
		
			
				|  |  | -        List<BackGoods> backGoodsList = backGoodsMapper.listBackGoods(backGoods);
 | 
	
		
			
				|  |  | -        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(6,backGoodsList));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        /*无理由退货*/
 | 
	
		
			
				|  |  | -        NoreasonBack noreasonBack = (NoreasonBack)CustomerCommonUtil.getRelation(7,customerCommon);
 | 
	
		
			
				|  |  | -        List<NoreasonBack> noreasonBackList = noreasonBackMapper.listNoreasonBack(noreasonBack);
 | 
	
		
			
				|  |  | -        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(7,noreasonBackList));
 | 
	
		
			
				|  |  | +    public List<CustomerCommon> listCustomerCommon(CustomerCommon customerCommon) {
 | 
	
		
			
				|  |  | +        List<CustomerCommon> customerCommonList  = customerCommonMapper.listCustomerCommon(customerCommon);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +//        List<CustomerCommon> customerCommonList = new ArrayList<>();
 | 
	
		
			
				|  |  | +//        /*换新*/
 | 
	
		
			
				|  |  | +//        Renewed renewed = (Renewed)CustomerCommonUtil.getRelation(3,customerCommon);
 | 
	
		
			
				|  |  | +//        List<Renewed> renewedList = renewedMapper.listRenewed(renewed);
 | 
	
		
			
				|  |  | +//        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(3,renewedList));
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//         /*维修*/
 | 
	
		
			
				|  |  | +//        Repair repair = (Repair)CustomerCommonUtil.getRelation(4,customerCommon);
 | 
	
		
			
				|  |  | +//        List<Repair> repairList = repairMapper.listRepair(repair);
 | 
	
		
			
				|  |  | +//        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(4,repairList));
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//        /*补发*/
 | 
	
		
			
				|  |  | +//        Reissue reissue = (Reissue)CustomerCommonUtil.getRelation(5,customerCommon);
 | 
	
		
			
				|  |  | +//        List<Reissue> reissueList = reissueMapper.listReissue(reissue);
 | 
	
		
			
				|  |  | +//        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(5,reissueList));
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//        /*退货*/
 | 
	
		
			
				|  |  | +//        BackGoods backGoods = (BackGoods)CustomerCommonUtil.getRelation(6,customerCommon);
 | 
	
		
			
				|  |  | +//        List<BackGoods> backGoodsList = backGoodsMapper.listBackGoods(backGoods);
 | 
	
		
			
				|  |  | +//        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(6,backGoodsList));
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//        /*无理由退货*/
 | 
	
		
			
				|  |  | +//        NoreasonBack noreasonBack = (NoreasonBack)CustomerCommonUtil.getRelation(7,customerCommon);
 | 
	
		
			
				|  |  | +//        List<NoreasonBack> noreasonBackList = noreasonBackMapper.listNoreasonBack(noreasonBack);
 | 
	
		
			
				|  |  | +//        customerCommonList.addAll(CustomerCommonUtil.listToCustomerCommon(7,noreasonBackList));
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          return customerCommonList;
 | 
	
		
			
				|  |  |      }
 |