| | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.yuanchu.mom.exception.ErrorException; |
| | | import com.yuanchu.mom.utils.DianLuUtils; |
| | | import org.apache.commons.lang3.ArrayUtils; |
| | | import org.apache.el.lang.ExpressionBuilder; |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.script.ScriptEngine; |
| | | import javax.script.ScriptEngineManager; |
| | | import java.math.BigDecimal; |
| | |
| | | @SpringBootTest |
| | | class SystemRunApplicationTest { |
| | | |
| | | @Resource |
| | | DianLuUtils dianLuUtils; |
| | | |
| | | @Test |
| | | void contextLoads() { |
| | | List<List<String>> outerList = new ArrayList<>(); |
| | | String str = "[[\"127\",\"123\",\"124\",\"123\",\"119\",\"122\",\"\",\"\",\"126\",\"112\"],[\"117\",\"124\",\"121\",\"122\",\"123\",\"127\",\"123\",\"112\"],[\"125\",\"125\",\"122\",\"123\",\"129\",\"124\",\"122\",\"118\"]]"; |
| | | String[] value = str.split("\\],\\["); |
| | | String[] split = value[0].replaceAll("[\\[\\]\"]", "").split(","); |
| | | String aa=split[6]; |
| | | System.out.println(aa); |
| | | |
| | | //dianLuUtils.readDianLuFile1(); |
| | | } |
| | | |
| | | |