소스 검색

药柜App订单管理

zxd 3 달 전
부모
커밋
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";
            conditionSql += " and '," + belongCommunitys + ",' LIKE CONCAT('%,',t.belong_community,',%')\n";
        }
        }
        if (!StringUtils.isEmpty(content)) {
        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)) {
        if (!StringUtils.isEmpty(community)) {
            conditionSql += " and t.belong_community = '" + community + "'";
            conditionSql += " and t.belong_community = '" + community + "'";