|
@@ -208,6 +208,7 @@ public class IntentionalDepositService implements BaseService<IntentionalDeposit
|
|
|
* @param model
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public int add(IntentionalDeposit model, String userId) {
|
|
|
|
|
|
if(StringUtils.isEmpty(userId)){
|
|
@@ -267,6 +268,7 @@ public class IntentionalDepositService implements BaseService<IntentionalDeposit
|
|
|
* @param model
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public int edit(IntentionalDeposit model, String userId) {
|
|
|
|
|
|
if(StringUtils.isEmpty(userId)){
|
|
@@ -719,7 +721,7 @@ public class IntentionalDepositService implements BaseService<IntentionalDeposit
|
|
|
String result = InvoiceUtil.gatheringbillTurn(json);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(result);
|
|
|
if (jsonObject.getString("success").equals("true")) {
|
|
|
- intentionalDeposit.setTurnNcJson(result);
|
|
|
+ intentionalDeposit.setNcJson(result);
|
|
|
updateByPrimaryKeySelective(intentionalDeposit);
|
|
|
}
|
|
|
|