Parcourir la source

Merge branch 'master' of http://47.108.172.52:3000/dayou/item-management-1phase

GouGengquan il y a 3 mois
Parent
commit
f208a0219f

BIN
biz-base/src/main/resources/docs/personal/house_final_report.docx


BIN
biz-base/src/main/resources/docs/personal/house_technic_report.docx


BIN
biz-base/src/main/resources/docs/personal/immovable_final_report.docx


BIN
biz-base/src/main/resources/docs/personal/immovable_technic_report.docx


BIN
biz-base/src/main/resources/docs/personal/land_final_report.docx


BIN
biz-base/src/main/resources/docs/personal/land_technic_report.docx


+ 9 - 13
service/src/main/java/com/dayou/service/impl/PersonalProductionServiceImpl.java

@@ -259,8 +259,6 @@ public class PersonalProductionServiceImpl extends ServiceImpl<PersonalProductio
         immRemark(textMap);
         addDebiInfo(textMap);
         addExamples(target.getId(),textMap);
-        BigDecimal am3 = BigDecimal.valueOf((Double.valueOf(String.valueOf(textMap.get("am3")))));
-        textMap.put("amTotalUp", am3.divide(new BigDecimal("10000"),2,BigDecimal.ROUND_HALF_UP));
         addIsPledge(textMap);
         addRationalUsing(textMap);
         isNoneShangCase(textMap);
@@ -302,8 +300,6 @@ public class PersonalProductionServiceImpl extends ServiceImpl<PersonalProductio
         addDebiInfo(textMap);
         addExamples(target.getId(),textMap);
         addIsAllot(calculate,textMap);
-        BigDecimal am3 = BigDecimal.valueOf((Double.valueOf(String.valueOf(textMap.get("am3")))));
-        textMap.put("amTotalUp", am3.divide(new BigDecimal("10000"),2,BigDecimal.ROUND_HALF_UP));
         addIsPledge(textMap);
         return doCreateFile(certificateEnum.getTemplatePath().get(2),textMap,orderId,ProductionEnum.TECHNIC);
     }
@@ -980,7 +976,7 @@ public class PersonalProductionServiceImpl extends ServiceImpl<PersonalProductio
         if ("否".equals(isPledge)) {
             pledge = String.format("估价对象的抵押价值=估价对象假定未设立法定优先受偿权利下的价值-估价师知悉的法定优先受偿款额,为:\r\n" +
                             "      总价(RMB):%s-%s=%s(万元)[百元以下四舍五入]\r\n" +
-                            "      单价(RMB):%s元/㎡(按建筑面积计)", textMap.get("amTotalUp"), 0d,textMap.get("amTotalUp"),
+                            "      单价(RMB):%s元/㎡(按建筑面积计)", textMap.get("nAmount"), 0d,textMap.get("nAmount"),
                     textMap.get("px3")
             );
         } else if (isPledge.contains("同一抵押权人")) {
@@ -991,18 +987,18 @@ public class PersonalProductionServiceImpl extends ServiceImpl<PersonalProductio
                                 "      单价(RMB):%s元/㎡(按建筑面积计)",
                         pledgePerson,
                         textMap.get("totalDebiAmount"),
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         0d,
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         textMap.get("pr3"));
             }else {
                 pledge = String.format("估价对象的抵押价值=估价对象假定未设立法定优先受偿权利下的价值-估价师知悉的法定优先受偿款额\r\n" +
                                 "\t根据权利人出具的“估价对象权利状况、法定优先受偿款调查说明及承诺书”,估价对象已设置了一般抵押权,截至价值时点尚未注销,委托人拟以估价对象向同一抵押权人申请续期贷款。根据《房地产估价规范》(GB/T50291-2015)相关规定,本抵押价值估价结果未扣减续贷对应的已抵押担保的债权数额,故,估价对象的抵押价值为:\r\n" +
                                 "      总价(RMB):%s-%s=%s(万元)[百元以下四舍五入]\r\n" +
                                 "      单价(RMB):%s元/㎡(按建筑面积计)",
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         0d,
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         textMap.get("pr3")
                 );
             }
@@ -1016,9 +1012,9 @@ public class PersonalProductionServiceImpl extends ServiceImpl<PersonalProductio
                         pledgePerson,
                         textMap.get("totalDebiAmount"),
                         otherPledgePerson,
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         0d,
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         textMap.get("pr3"));
             }else{
                 pledge = String.format("估价对象的抵押价值=估价对象假定未设立法定优先受偿权利下的价值-估价师知悉的法定优先受偿款额\r\n" +
@@ -1026,9 +1022,9 @@ public class PersonalProductionServiceImpl extends ServiceImpl<PersonalProductio
                                 "      总价(RMB):%s-%s=%s(万元)[百元以下四舍五入]\r\n" +
                                 "      单价(RMB):%s元/㎡(按建筑面积计)",
                         otherPledgePerson,
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         0d,
-                        textMap.get("amTotalUp"),
+                        textMap.get("nAmount"),
                         textMap.get("pr3"));
             }
         }