Commit 19ee4f70 by 陶光胜

二维码

parent 9f5218ec
......@@ -103,6 +103,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
......
......@@ -13,7 +13,7 @@ import com.gic.enterprise.error.ErrorCode;
import com.gic.enterprise.service.BillingAccountApiService;
import com.gic.enterprise.service.BillingAccountBalanceRecordService;
import com.gic.enterprise.service.BillingPayInfoService;
import com.gic.store.utils.CreateSerialNumberUtils;
import com.gic.enterprise.utils.CreateRandomUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -113,7 +113,7 @@ public class AccountBalanceStrategy implements PayStrategy {
private BillingPayInfoDTO savePayInfo(OutPayDTO outPayDTO) {
BillingPayInfoDTO payInfoDTO = new BillingPayInfoDTO();
payInfoDTO.setEnterpriseId(outPayDTO.getEnterpriseId());
payInfoDTO.setSerialNumber(CreateSerialNumberUtils.createSerialNumber());
payInfoDTO.setSerialNumber(CreateRandomUtils.getStringRandom(11));
payInfoDTO.setPayType(PayTypeEnum.BALANCE_PAY.getCode());
payInfoDTO.setTotalFeePaid(outPayDTO.getTotalFeePaid());
payInfoDTO.setTimeStart(outPayDTO.getTimeStart());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment