| | |
| | | |
| | | UPDATE SJZT_DW."dws_water_res_z_eight_detail_all" SET |
| | | <if test="entity.rz != null and entity.rz !='' "> |
| | | "rz" = #{entity.rz}, |
| | | "rz" = #{entity.rz} |
| | | </if> |
| | | <if test="entity.lowZ != null and entity.lowZ !='' "> |
| | | "low_z" = #{entity.lowZ} |
| | | ,"low_z" = #{entity.lowZ} |
| | | </if> |
| | | WHERE 1=1 |
| | | <if test="entity.isTb != null and entity.isTb != ''"> |
| | |
| | | private IDsmSpgSpprmpService dsmSpgSpprmpService; |
| | | |
| | | @Override |
| | | @Transactional |
| | | public void importDbPersonData(List<DbExcel> data, String resGuid,String ch) { |
| | | |
| | | //获取行政区划 |
| | |
| | | List<DsmSpgSpqnmp> dsmSpgSpqnmpList = dsmSpgSpqnmpService.getList(paramSl); |
| | | |
| | | data.forEach(dbExcel->{ |
| | | |
| | | dbExcel.setAvgValue(dbExcel.getAvgValue().replace(",",",")); |
| | | if (StringUtil.isBlank(dbExcel.getRz())){ |
| | | dbExcel.setRz(""); |
| | | } |
| | |
| | | } |
| | | } |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | throw new RuntimeException("表格渗压数据个数超过当前水库断面测点个数"); |
| | | } |
| | | |