zxd преди 5 месеца
родител
ревизия
509cb2f06c
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      svr/svr-base/src/main/java/com/yihu/jw/base/service/a3service/MedicineOrderService.java

+ 2 - 2
svr/svr-base/src/main/java/com/yihu/jw/base/service/a3service/MedicineOrderService.java

@ -339,8 +339,8 @@ public class MedicineOrderService extends BaseJpaService<Mediicineorder, Mediici
            conditionSql += " and '," + belongCommunitys + ",' LIKE CONCAT('%,',t.belong_community,',%')\n";
        }
        if (!StringUtils.isEmpty(content)) {
            conditionSql += " and CONCAT(IFNULL(t.`prescribe_num`,''),IFNULL(t.`contact`,''),IFNULL(t.`shipping_equ`,'')," +
                    " IFNULL(t.`community`,''),IFNULL(t.`name`,''),IFNULL(t.`pick_up_num`,'')) like '%" + content + "%'";
            conditionSql += " and CONCAT(IFNULL(t.`name`,''),IFNULL(t.`doctor_name`,''),IFNULL(t.`social_security_card_num`,''),IFNULL(t.`prescribe_num`,''),IFNULL(t.`contact`,''),IFNULL(t.`shipping_equ`,'')," +
                    " IFNULL(t.`community`,''),IFNULL(t.`pick_up_num`,'')) like '%" + content + "%'";
        }
        if (!StringUtils.isEmpty(community)) {
            conditionSql += " and t.belong_community = '" + community + "'";