|
@@ -3213,7 +3213,7 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
|
List<WbsTreeContract> WbsTreeContractList = jdbcTemplate.query(sqlList1, new BeanPropertyRowMapper<>(WbsTreeContract.class));
|
|
List<WbsTreeContract> WbsTreeContractList = jdbcTemplate.query(sqlList1, new BeanPropertyRowMapper<>(WbsTreeContract.class));
|
|
|
for (ImportTreeDto dto : list) {
|
|
for (ImportTreeDto dto : list) {
|
|
|
if(i!=size){
|
|
if(i!=size){
|
|
|
- String progressStr = String.format("%.2f", ((double) i/ size));
|
|
|
|
|
|
|
+ String progressStr = String.format("%.2f", ((double) i/ size)*100);
|
|
|
bladeRedis.set("import:projectId:"+wbsTreeContractRoot.getProjectId()+"contractId:"+wbsTreeContractRoot.getContractId(), progressStr);
|
|
bladeRedis.set("import:projectId:"+wbsTreeContractRoot.getProjectId()+"contractId:"+wbsTreeContractRoot.getContractId(), progressStr);
|
|
|
}
|
|
}
|
|
|
i++;
|
|
i++;
|