Skip to content

Commit da79b93

Browse files
author
wuxw7
committed
商户信息保存功能完成
1 parent fec26df commit da79b93

8 files changed

Lines changed: 922 additions & 206 deletions

File tree

StoreService/src/main/java/com/java110/store/dao/IStoreServiceDao.java

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
package com.java110.store.dao;
22

33

4+
import com.java110.common.exception.DAOException;
45
import com.java110.entity.merchant.BoMerchant;
56
import com.java110.entity.merchant.BoMerchantAttr;
67
import com.java110.entity.merchant.Merchant;
78
import com.java110.entity.merchant.MerchantAttr;
89

910

1011
import java.util.List;
12+
import java.util.Map;
1113

1214
/**
1315
* 商户组件内部之间使用,没有给外围系统提供服务能力
@@ -18,5 +20,165 @@
1820
*/
1921
public interface IStoreServiceDao {
2022

23+
/**
24+
* 保存 商户信息
25+
* @param businessStoreInfo 商户信息 封装
26+
* @throws DAOException 操作数据库异常
27+
*/
28+
public void saveBusinessStoreInfo(Map businessStoreInfo) throws DAOException;
2129

30+
/**
31+
* 保存商户属性
32+
* @param businessStoreAttr 商户属性信息封装
33+
* @throws DAOException 操作数据库异常
34+
*/
35+
public void saveBusinessStoreAttr(Map businessStoreAttr) throws DAOException;
36+
37+
38+
/**
39+
* 保存商户照片信息
40+
* @param businessStorePhoto 商户照片
41+
* @throws DAOException 操作数据库异常
42+
*/
43+
public void saveBusinessStorePhoto(Map businessStorePhoto) throws DAOException;
44+
45+
/**
46+
* 保存商户证件信息
47+
* @param businessStoreCerdentials 商户证件
48+
* @throws DAOException 操作数据库异常
49+
*/
50+
public void saveBusinessStoreCerdentials(Map businessStoreCerdentials) throws DAOException;
51+
52+
/**
53+
* 查询商户信息(business过程)
54+
* 根据bId 查询商户信息
55+
* @param info bId 信息
56+
* @return 商户信息
57+
* @throws DAOException
58+
*/
59+
public Map getBusinessStoreInfo(Map info) throws DAOException;
60+
61+
62+
/**
63+
* 查询商户属性信息(business过程)
64+
* @param info bId 信息
65+
* @return 商户属性
66+
* @throws DAOException
67+
*/
68+
public List<Map> getBusinessStoreAttrs(Map info) throws DAOException;
69+
70+
71+
/**
72+
* 查询商户照片
73+
* @param info bId 信息
74+
* @return 商户照片
75+
* @throws DAOException
76+
*/
77+
public List<Map> getBusinessStorePhoto(Map info) throws DAOException;
78+
79+
80+
/**
81+
* 查询商户证件信息
82+
* @param info bId 信息
83+
* @return 商户照片
84+
* @throws DAOException
85+
*/
86+
public List<Map> getBusinessStoreCerdentials(Map info) throws DAOException;
87+
88+
/**
89+
* 保存 商户信息 Business数据到 Instance中
90+
* @param info
91+
* @throws DAOException
92+
*/
93+
public void saveStoreInfoInstance(Map info) throws DAOException;
94+
95+
96+
/**
97+
* 保存 商户属性信息 Business数据到 Instance中
98+
* @param info
99+
* @throws DAOException
100+
*/
101+
public void saveStoreAttrsInstance(Map info) throws DAOException;
102+
103+
/**
104+
* 保存 商户照片信息 Business数据到 Instance中
105+
* @param info
106+
* @throws DAOException
107+
*/
108+
public void saveStorePhotoInstance(Map info) throws DAOException;
109+
110+
111+
/**
112+
* 保存 商户证件信息 Business数据到 Instance中
113+
* @param info
114+
* @throws DAOException
115+
*/
116+
public void saveStoreCerdentialsInstance(Map info) throws DAOException;
117+
118+
119+
120+
/**
121+
* 查询商户信息(instance过程)
122+
* 根据bId 查询商户信息
123+
* @param info bId 信息
124+
* @return 商户信息
125+
* @throws DAOException
126+
*/
127+
public Map getStoreInfo(Map info) throws DAOException;
128+
129+
130+
/**
131+
* 查询商户属性信息(instance过程)
132+
* @param info bId 信息
133+
* @return 商户属性
134+
* @throws DAOException
135+
*/
136+
public List<Map> getStoreAttrs(Map info) throws DAOException;
137+
138+
139+
/**
140+
* 查询商户照片(instance 过程)
141+
* @param info bId 信息
142+
* @return 商户照片
143+
* @throws DAOException
144+
*/
145+
public List<Map> getStorePhoto(Map info) throws DAOException;
146+
147+
/**
148+
* 查询商户证件信息(instance 过程)
149+
* @param info bId 信息
150+
* @return 商户照片
151+
* @throws DAOException
152+
*/
153+
public List<Map> getStoreCerdentials(Map info) throws DAOException;
154+
155+
/**
156+
* 修改商户信息
157+
* @param info 修改信息
158+
* @throws DAOException
159+
*/
160+
public void updateStoreInfoInstance(Map info) throws DAOException;
161+
162+
163+
/**
164+
* 修改商户属性信息
165+
* @param info 修改信息
166+
* @throws DAOException
167+
*/
168+
public void updateStoreAttrInstance(Map info) throws DAOException;
169+
170+
171+
/**
172+
* 修改商户照片信息
173+
* @param info 修改信息
174+
* @throws DAOException
175+
*/
176+
public void updateStorePhotoInstance(Map info) throws DAOException;
177+
178+
/**
179+
* 修改商户证件信息
180+
* @param info 修改信息
181+
* @throws DAOException
182+
*/
183+
public void updateStoreCerdentailsInstance(Map info) throws DAOException;
22184
}

0 commit comments

Comments
 (0)