|
@ -119,7 +119,7 @@ public class CommandController { |
|
|
result = CommandUtil.execute("touch /home/mfg/work/cim/po/"+traceid+".p && echo '"+pJson+"'>/home/mfg/work/cim/po/"+traceid+".p"); |
|
|
result = CommandUtil.execute("touch /home/mfg/work/cim/po/"+traceid+".p && echo '"+pJson+"'>/home/mfg/work/cim/po/"+traceid+".p"); |
|
|
log.info("write p result : " + result); |
|
|
log.info("write p result : " + result); |
|
|
//执行QAD脚本
|
|
|
//执行QAD脚本
|
|
|
result = CommandUtil.execute("/home/mfg/work/scripts/client-ch-cimload /home/mfg/work/cim/po/"+traceid+".p"); |
|
|
result = CommandUtil.execute("sh /home/mfg/work/scripts/client-ch-cimload /home/mfg/work/cim/po/"+traceid+".p"); |
|
|
log.info("execute client-ch-loaddata : " + result); |
|
|
log.info("execute client-ch-loaddata : " + result); |
|
|
result = CommandUtil.execute("cat /home/mfg/work/out/po/" + traceid + ".run.out.json"); |
|
|
result = CommandUtil.execute("cat /home/mfg/work/out/po/" + traceid + ".run.out.json"); |
|
|
log.info("cat execute log : " + result); |
|
|
log.info("cat execute log : " + result); |
|
|