ソースを参照

药柜App订单管理

zxd 3 ヶ月 前
コミット
509cb2f06c

+ 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 + "'";