|
|
|
@ -56,7 +56,7 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
public void saveQueryInvoiceResult(JSONObject queryInvoiceResult, String userName, String qsType, String dbName) { |
|
|
|
|
public void saveQueryInvoiceResult(JSONObject queryInvoiceResult, String userName, String qsType, String dbName) throws Exception { |
|
|
|
|
|
|
|
|
|
// 获取底账表信息
|
|
|
|
|
TdxRecordInvoice recordInvoice = getRecordInvoice(queryInvoiceResult, userName, qsType); |
|
|
|
@ -186,12 +186,13 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord |
|
|
|
|
* @param recordInvoiceUpdate 请求参数 |
|
|
|
|
*/ |
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
public void updateInvoice(TdxRecordInvoice recordInvoiceUpdate) { |
|
|
|
|
public void updateInvoice(TdxRecordInvoice recordInvoiceUpdate) throws Exception { |
|
|
|
|
try { |
|
|
|
|
baseMapper.update(recordInvoiceUpdate, |
|
|
|
|
new QueryWrapper<TdxRecordInvoice>().eq("uuid", recordInvoiceUpdate.getUuid())); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
throw new Exception(e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|