wms-抄码添加查询条件
This commit is contained in:
+9
@@ -15,6 +15,15 @@ public class CopyCodeReferenceDTO extends BaseVOEntity {
|
||||
@ApiModelProperty("ID")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("组织表ID")
|
||||
private Long organizationId;
|
||||
|
||||
@ApiModelProperty("组织名称")
|
||||
private String organizationName;
|
||||
|
||||
@ApiModelProperty("一级组织表ID")
|
||||
private Long topOrganizationId;
|
||||
|
||||
@ApiModelProperty("货主ID")
|
||||
private Long shipperId;
|
||||
|
||||
|
||||
@@ -125,6 +125,12 @@
|
||||
AND material_code = #{materialCode}
|
||||
AND batch_number = #{batchNumber}
|
||||
AND box_pallet_no = #{boxPalletNo}
|
||||
<if test="topOrganizationId != null">
|
||||
AND top_organization_id = #{topOrganizationId}
|
||||
</if>
|
||||
<if test="organizationId != null">
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
ORDER BY serial_number
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user