try catch 处理
This commit is contained in:
parent
330dad2bcb
commit
e7bd033a78
@ -200,7 +200,6 @@ public class InspectionInfoServiceImpl extends ServiceImpl<InspectionInfoMapper,
|
|||||||
customerInfo.setCustomerName(user.getNickname());
|
customerInfo.setCustomerName(user.getNickname());
|
||||||
customerInfo.setSex("0");
|
customerInfo.setSex("0");
|
||||||
customerInfo.setUserAge(user.getUserAge());
|
customerInfo.setUserAge(user.getUserAge());
|
||||||
|
|
||||||
// 设置客户来源
|
// 设置客户来源
|
||||||
CustomerMain customerMain = new CustomerMain();
|
CustomerMain customerMain = new CustomerMain();
|
||||||
customerMain.setDataFrom("01");
|
customerMain.setDataFrom("01");
|
||||||
|
@ -126,7 +126,7 @@ public class PartnerCustomerInfoServiceImpl extends ServiceImpl<PartnerCustomerI
|
|||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public int insertPartnerCustomerInfo(PartnerCustomerInfo partnerCustomerInfo) throws Exception {
|
public int insertPartnerCustomerInfo(PartnerCustomerInfo partnerCustomerInfo) throws Exception {
|
||||||
// 获取当前商户信息
|
// 获取当前商户信息
|
||||||
ShopMallPartners partners = partnerService.shopInfo();
|
ShopMallPartners partners = partnerService.shopInfo();
|
||||||
|
Loading…
Reference in New Issue
Block a user