11/12 选入药品层级带入批准文号

dev_unify
wangwei 5 months ago
parent 33147dbece
commit 2a735e688c

@ -123,6 +123,9 @@ public class ThirdAliDrug implements Serializable {
@ApiModelProperty(value = "更新时间") @ApiModelProperty(value = "更新时间")
private Date updateTime; private Date updateTime;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public ThirdAliDrug(String type, String manufacturer, String cpmctymc, String form, String formSpec, String bzgg,String approvalNum, String spmc, String nameCode, String packRatio, String packLevel, Date createTime, Date updateTime) { public ThirdAliDrug(String type, String manufacturer, String cpmctymc, String form, String formSpec, String bzgg,String approvalNum, String spmc, String nameCode, String packRatio, String packLevel, Date createTime, Date updateTime) {
@ -140,4 +143,4 @@ public class ThirdAliDrug implements Serializable {
this.updateTime = updateTime; this.updateTime = updateTime;
this.approvalNum = approvalNum; this.approvalNum = approvalNum;
} }
} }

@ -106,4 +106,7 @@ public class ThirdAliDrugRequest extends ListPageRequest {
@ApiModelProperty(value = "更新时间") @ApiModelProperty(value = "更新时间")
private Date updateTime; private Date updateTime;
private String approvalNum;
} }

@ -81,7 +81,10 @@
<if test="nameCode != '' and nameCode != null"> <if test="nameCode != '' and nameCode != null">
AND nameCode LIKE concat('%', #{nameCode}, '%') AND nameCode LIKE concat('%', #{nameCode}, '%')
</if> </if>
<if test="approvalNum != '' and approvalNum != null">
AND approvalNum = #{approvalNum}
</if>
</where> </where>
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save