C:\Users\misswell\AppData\Local\Android\Sdk\system-images
C:\Users\misswell\AppData\Local\Google\AndroidStudio4.1\log
C:\Program Files (x86)\MuMu\emulator\nemu
C:\Users\misswell\AppData\Local\Android\Sdk\system-images
C:\Users\misswell\AppData\Local\Google\AndroidStudio4.1\log
C:\Program Files (x86)\MuMu\emulator\nemu
/**
* 将json对象转换为HashMap
* @param json
* @return
*/
public static Map<String, Object> parseJSON2Map(JSONObject json) {
Map<String, Object> map = new HashMap<String, Object>();
// 最外层解析
for (Object k : json.keySet()) {
Object v = json.get(k);
// 如果内层还是json数组的话,继续解析
if (v instanceof JSONArray) {
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
Iterator<JSONObject> it = ((JSONArray) v).iterator();
while (it.hasNext()) {
JSONObject json2 = it.next();
list.add(parseJSON2Map(json2));
}
map.put(k.toString(), list);
} else if (v instanceof JSONObject) {
// 如果内层是json对象的话,继续解析
map.put(k.toString(), parseJSON2Map((JSONObject) v));
} else {
// 如果内层是普通对象的话,直接放入map中
map.put(k.toString(), v);
}
}
return map;
}
/**
* 将json字符串转换为Map
* @param jsonStr
* @return
*/
public static Map<String, Object> parseJSONstr2Map(String jsonStr) {
JSONObject json = JSONObject.fromObject(jsonStr);
Map<String, Object> map = parseJSON2Map(json);
return map;
}
// map过滤key方法
public Map<String, Object> mapFilter(Map<String,Object> map,List<String> list){
Map<String, Object> mapSimplify = new HashMap<String, Object>();
for(String key : map.keySet()){
Object value = map.get(key);
if (list.indexOf(key) == -1) {
mapSimplify.put(key, value);
}
}
return mapSimplify;
}
处理方式,不要使用箭头函数
@echo off
echo Starting PHP70 FastCGI On 9001...
cd C:/phpStudy/php/php-7.0.12-nts/
php-cgi.exe -b 127.0.0.1:9001 -c php.ini
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
::后台运行,下面是你自己的代码。
echo Starting PHP70 FastCGI On 9001...
cd C:\Software\php-7.4.12-nts-Win32-vc15-x64\
php-cgi.exe -b 127.0.0.1:9001 -c php.ini
下载地址,选择 Windows (x86, 64-bit), ZIP Archive
https://dev.mysql.com/downloads/mysql/
https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.21-winx64.zip
Continue reading MySQL 8.0.21 安装教程 windows 64位SQL Server 实现 MySQL group_concat
注释:连表查询时,子表单字段结果拼接
select DISTINCT(o.id),o.*,
CAST(stuff((
SELECT ',' + title FROM t_rm_sealapplycommondetail0 d WHERE d.pid = o.id FOR xml path('')
) , 1 , 1 , '') AS VARCHAR(255)) as titles
from t_rm_sealapplycommon o where 1=1
https://s1.ax1x.com/2020/07/21/UI7xld.png
https://s1.ax1x.com/2020/07/21/UI7z6A.png
https://s1.ax1x.com/2020/07/21/UI7vSH.png
https://s1.ax1x.com/2020/07/21/UI7OYD.png
https://s1.ax1x.com/2020/07/21/UI7Xfe.png
https://s1.ax1x.com/2020/07/21/UIHSOI.png
https://s1.ax1x.com/2020/07/21/UIH9mt.png
https://s1.ax1x.com/2020/07/21/UIHC0P.png
https://s1.ax1x.com/2020/07/21/UIHPTf.png
https://s1.ax1x.com/2020/07/21/UIHFk8.png
https://s1.ax1x.com/2020/07/21/UIHktS.png
https://s1.ax1x.com/2020/07/21/UIHAfg.png
https://s1.ax1x.com/2020/07/21/UIHVpQ.png
vim /etc/init.d/mysql
到start模块,添加 –user=root 到 mysqld_safe
MySql错误:Starting MySQL…The server quit without updating PID file
https://blog.csdn.net/qq_36514672/article/details/81100981