|
@@ -726,11 +726,9 @@ public class YongyouServiceImpl implements YongyouService {
|
|
detail.setCitemcode(orderVO.getProjectSecondNo());
|
|
detail.setCitemcode(orderVO.getProjectSecondNo());
|
|
|
|
|
|
detail.setCbmemo(orderVO.getCbmemo());
|
|
detail.setCbmemo(orderVO.getCbmemo());
|
|
-
|
|
|
|
- detail.setFtaxprice(orderVO.getFtaxprice());
|
|
|
|
-
|
|
|
|
- detail.setIpertaxrate(orderVO.getIpertaxrate());
|
|
|
|
- detail.setIorisum(orderVO.getIorisum());
|
|
|
|
|
|
+ detail.setFtaxprice(MathUtils.formatDouble1(orderVO.getIpertaxrate(),4));
|
|
|
|
+ detail.setIpertaxrate(MathUtils.formatDouble1(orderVO.getIpertaxrate(),2));
|
|
|
|
+ detail.setIorisum(MathUtils.formatDouble1(orderVO.getIorisum(),2));
|
|
|
|
|
|
|
|
|
|
// detail.setCdefine12(orderVO.getCdefine12());
|
|
// detail.setCdefine12(orderVO.getCdefine12());
|
|
@@ -780,6 +778,12 @@ public class YongyouServiceImpl implements YongyouService {
|
|
return response.getMsg();
|
|
return response.getMsg();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public static void main(String[] args) {
|
|
|
|
+ Double d = new Double(12.00);
|
|
|
|
+ Double dd = MathUtils.formatDouble2(d,4);
|
|
|
|
+ System.out.println(dd.toString());
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|