| | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.ApplicationContext; |
| | | import org.springframework.security.providers.encoding.PasswordEncoder; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | import project.monitor.job.transferfrom.LockFilter; |
| | | import project.party.PartyService; |
| | | import project.party.model.Party; |
| | | import project.redis.RedisHandler; |
| | | import project.syspara.SysparaService; |
| | | import project.user.UserData; |
| | | import project.user.UserDataService; |
| | |
| | | public class ExchangeAdminUserController extends PageActionSupport { |
| | | |
| | | private Logger logger = LoggerFactory.getLogger(ExchangeAdminUserController.class); |
| | | |
| | | private ApplicationContext applicationContext; |
| | | @Autowired |
| | | protected AdminUserService adminUserService; |
| | | @Autowired |
| | |
| | | Map map = list.get(i); |
| | | if(ObjectUtils.isNotEmpty(map)) { |
| | | if(ObjectUtils.isNotEmpty(map.get("money"))) { |
| | | map.put("money", new BigDecimal(map.get("money").toString()).setScale(2, RoundingMode.DOWN)); |
| | | RedisHandler redisHandler = applicationContext.getBean(RedisHandler.class); |
| | | // map.put("money", new BigDecimal(map.get("money").toString()).setScale(2, RoundingMode.DOWN)); |
| | | map.put("money", new BigDecimal(redisHandler.get("PARTY_ID_MONEY_" + map.get("id").toString()).toString()).setScale(2, RoundingMode.DOWN)); |
| | | } |
| | | } |
| | | // 用户当前流水Party表 |