|
@@ -28,6 +28,7 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
+import java.text.DecimalFormat;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
@@ -199,6 +200,8 @@ public class PaymentManagementServiceImpl extends ServiceImpl<PaymentManagementM
|
|
|
}
|
|
|
}
|
|
|
param += qualityInspectionManagement.getBuckleMiscellaneous();
|
|
|
+ DecimalFormat df = new DecimalFormat("#.00");
|
|
|
+ param = Float.parseFloat(df.format(param));
|
|
|
paymentManagement.setParam(param );
|
|
|
paymentManagement.setWeightDeduction(param);
|
|
|
}
|