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