修改SQL
This commit is contained in:
parent
363a8d3f72
commit
4fbc8cc386
@ -17,7 +17,7 @@ public interface IKpiKhxzDdyDao {
|
||||
|
||||
void updateC(Map<String, Object> updateParams);
|
||||
|
||||
void updateEFN(Map<String, Object> updateParams);
|
||||
void updateEF(Map<String, Object> updateParams);
|
||||
|
||||
List<KpiKhxzDdyDTO> list(Map<String, Object> params);
|
||||
|
||||
|
@ -4,10 +4,6 @@ import com.cm.bigdata.dao.kpi.IKpiDao;
|
||||
import com.cm.bigdata.dao.kpi.IKpiKhxzDdyDao;
|
||||
import com.cm.bigdata.monitor.KpiUpdateMonitor;
|
||||
import com.cm.bigdata.pojo.pos.kpi.CasePO;
|
||||
import com.cm.common.constants.ISystemConstant;
|
||||
import org.joda.time.Hours;
|
||||
import org.joda.time.LocalDateTime;
|
||||
import org.joda.time.format.DateTimeFormat;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -60,8 +56,7 @@ public class KpiKhxzDdyEFNRunnable implements Runnable {
|
||||
updateParams.put("timelyCount", assignIn24HoursCount);
|
||||
updateParams.put("E", notAssignIn24HoursCount);
|
||||
updateParams.put("F", notAssignIn24HoursCount * 10);
|
||||
updateParams.put("N", handleCasePOS.size());
|
||||
kpiKhxzDdyDao.updateEFN(updateParams);
|
||||
kpiKhxzDdyDao.updateEF(updateParams);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -76,14 +76,13 @@
|
||||
user_id = #{userId}
|
||||
</update>
|
||||
|
||||
<update id="updateEFN" parameterType="map">
|
||||
<update id="updateEF" parameterType="map">
|
||||
UPDATE
|
||||
kpi_khxz_ddy
|
||||
SET
|
||||
timely_count = #{timelyCount},
|
||||
E = #{E},
|
||||
F = #{F},
|
||||
N = #{N}
|
||||
F = #{F}
|
||||
WHERE
|
||||
kh_year = #{khYear}
|
||||
AND
|
||||
|
Loading…
Reference in New Issue
Block a user