产品名称查询小调整

master
hongtianzai 3 years ago
parent 4a0d942d3e
commit 5f961ac579

@ -13,7 +13,7 @@ import java.util.TreeMap;
@Service
public class UdplatDownloadService {
private String host="http://pre.udplat.org";//"http://pre-mcs.udplat.org";//"http://120.32.125.20";//"http://pre.udplat.org/deal";
private String host="http://pre-mcs.udplat.org";//"http://120.32.125.20";//"http://pre.udplat.org/deal";"http://pre.udplat.org";//
private String appId="20004072";
private String secretKey="hoGxLSEsSyysnS9";
private String userName="漳州片仔癀诊断";

@ -51,7 +51,7 @@
select p.uuid, p.nameCode,p.ylqxzcrbarmc, p.cpmctymc,p.ggxh,p.cpms,p.deviceRecordKey,m.deliveryGoodId,m.medicalCode from productinfo as p
left join udplat_goods_match as m on p.deviceRecordKey = m.deviceRecordKey where p.isNewest =1 and p.diType=1
<if test="name != null and name != ''">
and p.cpmctymc like concat(#{name},'%')
and (p.cpmctymc like concat(#{name},'%') or p.ylqxzcrbarmc like concat(#{name},'%'))
</if>
<if test="goodsMatchType == 1">
and m.deliveryGoodId is not null and m.deliveryGoodId != ''

Loading…
Cancel
Save