修改话费订单导出

袁野 2 years ago
parent 113c282d22
commit 727d10aa5d
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/HighTestController.java
  2. 4
      hai-service/src/main/java/com/hai/entity/ApiMerchants.java
  3. 2
      hai-service/src/main/java/com/hai/service/impl/ApiMerchantsServiceImpl.java

File diff suppressed because one or more lines are too long

@ -1,5 +1,6 @@
package com.hai.entity; package com.hai.entity;
import javax.persistence.Version;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
@ -67,6 +68,7 @@ public class ApiMerchants implements Serializable {
/** /**
* 版本号 * 版本号
*/ */
@Version
private Integer version; private Integer version;
/** /**
@ -303,4 +305,4 @@ public class ApiMerchants implements Serializable {
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
} }

@ -48,7 +48,7 @@ public class ApiMerchantsServiceImpl implements ApiMerchantsService {
} }
@Override @Override
public void updateApiMerchants(ApiMerchants apiMerchants) { public synchronized void updateApiMerchants(ApiMerchants apiMerchants) {
apiMerchantsMapper.updateByPrimaryKey(apiMerchants); apiMerchantsMapper.updateByPrimaryKey(apiMerchants);
} }

Loading…
Cancel
Save