生产工序代码-打包分页查询接口参数添加

This commit is contained in:
liuzhaotian
2024-05-11 15:41:20 +08:00
parent bba9c7f7bc
commit e93ad4d248
3 changed files with 13 additions and 1 deletions
@@ -89,6 +89,7 @@ public interface PlateService {
*/ */
void updatePlateByRawGoodsId(List<GoodsSaveReqVO> createReqVOS); void updatePlateByRawGoodsId(List<GoodsSaveReqVO> createReqVOS);
List<BodyPlateDetailVO> getPlateModelByPlateId(List<Long> bodyIds); List<BodyPlateDetailVO> getPlateModelByPlateId(List<Long> bodyIds);
} }
@@ -20,6 +20,13 @@ public class PlateDetailsRespVO {
@ExcelProperty("柜体名称") @ExcelProperty("柜体名称")
private String cabinetName; private String cabinetName;
@Schema(description = "房间ID", requiredMode = Schema.RequiredMode.REQUIRED)
private String roomId;
@Schema(description = "柜体ID", requiredMode = Schema.RequiredMode.REQUIRED)
private String bodyId;
@Schema(description = "板编号", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "板编号", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("板编号") @ExcelProperty("板编号")
private String plateNo; private String plateNo;
@@ -53,6 +53,8 @@
<collection property="plateDetailsRespVO" ofType="com.cf.imes.module.manage.controller.admin.pack.vo.PlateDetailsRespVO"> <collection property="plateDetailsRespVO" ofType="com.cf.imes.module.manage.controller.admin.pack.vo.PlateDetailsRespVO">
<result property="roomId" column="roomId"/>
<result property="bodyId" column="bodyId"/>
<result property="roomName" column="roomName"/> <result property="roomName" column="roomName"/>
<result property="cabinetName" column="bodyName"/> <result property="cabinetName" column="bodyName"/>
<result property="plateNo" column="plateId"/> <result property="plateNo" column="plateId"/>
@@ -124,6 +126,8 @@
when oi.plate_id !=0 then oi.plate_id end when oi.plate_id !=0 then oi.plate_id end
)as plateNum, )as plateNum,
ob.room_id as roomId,
ob.id as bodyId,
og.name as name, og.name as name,
ob.room_name as roomName, ob.room_name as roomName,
ob.name as bodyName, ob.name as bodyName,
@@ -154,7 +158,7 @@
<foreach item="id" collection="collect" open="(" separator="," close=")"> <foreach item="id" collection="collect" open="(" separator="," close=")">
#{id} #{id}
</foreach> </foreach>
group by orderNo,op.id,oi.package_id,name,roomName,bodyName,plateName,plateMaterial,plateColor,plateHeight,plateWidth,plateThickness,plateArea,texture,remark; group by orderNo,op.id,oi.package_id,name,roomId,bodyId,roomName,bodyName,plateName,plateMaterial,plateColor,plateHeight,plateWidth,plateThickness,plateArea,texture,remark;
</select> </select>