Commit d1e9e52d authored by suichenguang's avatar suichenguang

解析更改

parent 8d19954d
......@@ -79,7 +79,7 @@ public class FailedCardApi {
} else {
idMap = failedCardService.selectCountIdByCardId(jsonObject.getString("cardId"));
}
int initiator = Integer.parseInt(jsonObject.getString("initiator")) - 2;
int initiator = Integer.parseInt(jsonObject.getString("initiator")) - 1;
failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"), idMap.get("ACCEPT_NO").toString(), idMap.get("TASK_ID").toString(), String.valueOf(initiator), jsonObject.getString("note"));
}
return true;
......
......@@ -122,10 +122,10 @@ public interface LogMapper {
// TODO 解析日志总数
@Select("<script> " +
"SELECT COUNT(*) FROM FILES \n" +
"LEFT JOIN ANALYSIS ON ANALYSIS.FILE_ID =FILES.ID "+
"SELECT COUNT(*) FROM ANALYSIS \n" +
"LEFT JOIN FILES ON ANALYSIS.FILE_ID =FILES.ID "+
"LEFT JOIN FILE_NAME_DIC ON FILE_NAME_DIC.FILE_ID=ANALYSIS.FILE_DIC_ID " +
"where 1=1 and PREPRO_PERSON.NEW_FILE_ID is not null " +
"where 1=1 " +
"<if test='fileName !=\"\"' >" +
"and FILES.SOURCE_FILE_NAME=#{fileName} " +
"</if>" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment