|
@@ -43,20 +43,28 @@ public class VdsDtctDao extends BatchDaoService {
|
|
|
}
|
|
|
|
|
|
public int updateClct(List<voVdsDtctClct> req, boolean isHistory) {
|
|
|
- log.info("{}.updateStts: START. {} EA. History {}", this.serviceName, req.size(), isHistory);
|
|
|
+ if (req.size() > 1) {
|
|
|
+ log.info("{}.updateStts: START. {} EA. History {}", this.serviceName, req.size(), isHistory);
|
|
|
+ }
|
|
|
Elapsed elapsed = new Elapsed();
|
|
|
this.mapper = this.mapperName + "batchUpdateVdsDtctClctPnst";
|
|
|
int total = updateBatch(this.mapper, getClctList(req));
|
|
|
- log.info("{}.updateStts: ..END. {} EA. {} ms.", this.serviceName, total, elapsed.milliSeconds());
|
|
|
+ if (req.size() > 1) {
|
|
|
+ log.info("{}.updateStts: ..END. {} EA. {} ms.", this.serviceName, total, elapsed.milliSeconds());
|
|
|
+ }
|
|
|
return total;
|
|
|
}
|
|
|
|
|
|
public int insertClct(List<voVdsDtctClct> req) {
|
|
|
- log.info("{}.insertStts: START. {} EA.", this.serviceName, req.size());
|
|
|
+ if (req.size() > 1) {
|
|
|
+ log.info("{}.insertStts: START. {} EA.", this.serviceName, req.size());
|
|
|
+ }
|
|
|
Elapsed elapsed = new Elapsed();
|
|
|
this.mapper = this.mapperName + "batchInsertVdsDtctClct";
|
|
|
int total = insertBatch(this.mapper, getClctList(req));
|
|
|
- log.info("{}.insertStts: ..END. {} EA. {} ms.", this.serviceName, total, elapsed.milliSeconds());
|
|
|
+ if (req.size() > 1) {
|
|
|
+ log.info("{}.insertStts: ..END. {} EA. {} ms.", this.serviceName, total, elapsed.milliSeconds());
|
|
|
+ }
|
|
|
return total;
|
|
|
}
|
|
|
|