xyc
2024-07-24 d8cb08ce6b68b50d2475b70eb522ea6bbbb17686
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/service/ParamDataService.java
@@ -12,7 +12,7 @@
/**
 * param_data_expect
 *
 * @author zt generator
 * @author zt generator
 * @since 1.0.0 2024-03-04
 */
@Service
@@ -26,7 +26,7 @@
     */
    public List<ParamData> page(QueryFilter queryFilter) {
        List<ParamData> list = baseDao.getList(queryFilter.getQueryParams());
        for (ParamData expect :list){
        for (ParamData expect : list) {
            expect.setProductId(expect.getProductIdInit());
        }
        return list;
@@ -41,4 +41,11 @@
        super.deleteLogic(ids);
    }
    public List<ParamData> getByShipId(Long shipId) {
        return baseDao.getByShipId(shipId);
    }
    public void deleteByShipId(Long shipId) {
        baseDao.deleteByShipId(shipId);
    }
}