|
@@ -16,6 +16,9 @@ import com.idea.customerManagement.mapper.ContractManageMapper;
|
|
|
import com.idea.customerManagement.mapper.CustomerManagementMapper;
|
|
|
import com.idea.customerManagement.mapper.RoomSelectionInfoMapper;
|
|
|
import com.idea.customerManagement.model.*;
|
|
|
+import com.idea.invoice.mapper.InvoiceBankMapper;
|
|
|
+import com.idea.invoice.model.InvoiceBank;
|
|
|
+import com.idea.invoice.model.InvoiceBankExample;
|
|
|
import com.rockstar.common.base.BaseService;
|
|
|
import com.rockstar.frame.model.extend.DateTrans;
|
|
|
import com.rockstar.frame.model.extend.Tablepar;
|
|
@@ -48,6 +51,8 @@ public class ContractManageService implements BaseService<ContractManage, Contra
|
|
|
private CustomerManagementMapper customerManagementMapper;
|
|
|
@Autowired
|
|
|
private RoomSelectionInfoMapper roomSelectionInfoMapper;
|
|
|
+ @Autowired
|
|
|
+ private InvoiceBankMapper invoiceBankMapper;
|
|
|
|
|
|
@Override
|
|
|
public int deleteByPrimaryKey(String s) {
|
|
@@ -220,5 +225,20 @@ public class ContractManageService implements BaseService<ContractManage, Contra
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取合同对应的银行账号
|
|
|
+ * @param contractId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public List<InvoiceBank> getBankList(String contractId){
|
|
|
+
|
|
|
+// ContractManage contractManage = selectByPrimaryKey(contractId);
|
|
|
+// ParkRoom parkRoom = parkRoomService.selectByPrimaryKey(contractManage.getHouseId());
|
|
|
+ InvoiceBankExample example = new InvoiceBankExample();
|
|
|
+// example.createCriteria().andSuitCostTypeLike("%" + parkRoom.getDiscId() + "%");
|
|
|
+ return invoiceBankMapper.selectByExample(example);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|