ソースを参照

Merge branch 'dev' of chenweida/patient-co-management into dev

chenweida 8 年 前
コミット
9591c53e3d

+ 7 - 0
patient-co-figure/src/main/java/com/yihu/figure/controller/patient/PortraitController.java

@ -142,6 +142,13 @@ public class PortraitController extends BaseController {
        }
        }
    }
    }
    /**
     * 计算百分比的函数
     * @param up  分子
     * @param down 分母
     * @param scale 保留几位小数
     * @return
     */
    public static double round(Integer up, Integer down, int scale) {
    public static double round(Integer up, Integer down, int scale) {
        try {
        try {