|
@@ -55,9 +55,9 @@ public class LogService {
|
|
|
public static void addLog(Integer aid,Integer jid,String stype,String log){
|
|
|
if(stype.equals("gass")){//排除其他日志
|
|
|
gassAlllog(aid, jid, stype, log);
|
|
|
- if(log.indexOf("求解")>0){
|
|
|
+ if(log.indexOf("求解")>=0){
|
|
|
savelog(aid, jid, stype, log);
|
|
|
- }else if(log.indexOf("EHCO LOG")>0){
|
|
|
+ }else if(log.indexOf("EHCO LOG")>=0){
|
|
|
|
|
|
try{
|
|
|
log.replace(" ","");
|