|
@ -40,6 +40,7 @@ import org.springframework.transaction.TransactionDefinition;
|
|
|
import org.springframework.transaction.TransactionStatus;
|
|
|
import org.springframework.transaction.support.DefaultTransactionDefinition;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.text.DecimalFormat;
|
|
|
import java.util.*;
|
|
|
|
|
@ -452,7 +453,7 @@ public class PrescriptionService extends BaseService {
|
|
|
" p.create_time," +
|
|
|
" GROUP_CONCAT(d.health_problem) AS health_problem," +
|
|
|
" GROUP_CONCAT(d.health_problem_name) AS health_problem_name," +
|
|
|
" FORMAT(a.total_amount/100,1) AS total_amount" +
|
|
|
" REPLACE(FORMAT(a.total_amount / 100, 1),',','') AS total_amount" +
|
|
|
" FROM" +
|
|
|
" wlyy_prescription p" +
|
|
|
" LEFT JOIN wlyy_prescription_diagnosis d ON p. CODE = d.prescription_code" +
|