1.添加数据库相关文件
This commit is contained in:
parent
0ced7faf46
commit
b3898725fc
|
|
@ -16,15 +16,6 @@ public class RuoYiApplication
|
||||||
{
|
{
|
||||||
// System.setProperty("spring.devtools.restart.enabled", "false");
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
||||||
SpringApplication.run(RuoYiApplication.class, args);
|
SpringApplication.run(RuoYiApplication.class, args);
|
||||||
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
|
System.out.println("WMS系统后台启动成功。");
|
||||||
" .-------. ____ __ \n" +
|
|
||||||
" | _ _ \\ \\ \\ / / \n" +
|
|
||||||
" | ( ' ) | \\ _. / ' \n" +
|
|
||||||
" |(_ o _) / _( )_ .' \n" +
|
|
||||||
" | (_,_).' __ ___(_ o _)' \n" +
|
|
||||||
" | |\\ \\ | || |(_,_)' \n" +
|
|
||||||
" | | \\ `' /| `-' / \n" +
|
|
||||||
" | | \\ / \\ / \n" +
|
|
||||||
" ''-' `'-' `-..-' ");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoods;
|
||||||
|
import com.ruoyi.app.service.IAppGoodsService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/goods")
|
||||||
|
public class AppGoodsController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppGoodsService appGoodsService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:goods:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppGoods appGoods)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppGoods> list = appGoodsService.selectAppGoodsList(appGoods);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:goods:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppGoods appGoods)
|
||||||
|
{
|
||||||
|
List<AppGoods> list = appGoodsService.selectAppGoodsList(appGoods);
|
||||||
|
ExcelUtil<AppGoods> util = new ExcelUtil<AppGoods>(AppGoods.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:goods:query')")
|
||||||
|
@GetMapping(value = "/{goodsId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("goodsId") String goodsId)
|
||||||
|
{
|
||||||
|
return success(appGoodsService.selectAppGoodsByGoodsId(goodsId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:goods:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppGoods appGoods)
|
||||||
|
{
|
||||||
|
return toAjax(appGoodsService.insertAppGoods(appGoods));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:goods:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppGoods appGoods)
|
||||||
|
{
|
||||||
|
return toAjax(appGoodsService.updateAppGoods(appGoods));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:goods:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{goodsIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] goodsIds)
|
||||||
|
{
|
||||||
|
return toAjax(appGoodsService.deleteAppGoodsByGoodsIds(goodsIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoodsPair;
|
||||||
|
import com.ruoyi.app.service.IAppGoodsPairService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/goodsPair")
|
||||||
|
public class AppGoodsPairController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppGoodsPairService appGoodsPairService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:pair:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppGoodsPair> list = appGoodsPairService.selectAppGoodsPairList(appGoodsPair);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:pair:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
List<AppGoodsPair> list = appGoodsPairService.selectAppGoodsPairList(appGoodsPair);
|
||||||
|
ExcelUtil<AppGoodsPair> util = new ExcelUtil<AppGoodsPair>(AppGoodsPair.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:pair:query')")
|
||||||
|
@GetMapping(value = "/{pairId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("pairId") String pairId)
|
||||||
|
{
|
||||||
|
return success(appGoodsPairService.selectAppGoodsPairByPairId(pairId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:pair:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
return toAjax(appGoodsPairService.insertAppGoodsPair(appGoodsPair));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:pair:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
return toAjax(appGoodsPairService.updateAppGoodsPair(appGoodsPair));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:pair:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{pairIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] pairIds)
|
||||||
|
{
|
||||||
|
return toAjax(appGoodsPairService.deleteAppGoodsPairByPairIds(pairIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLedConfig;
|
||||||
|
import com.ruoyi.app.service.IAppLedConfigService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/ledConfig")
|
||||||
|
public class AppLedConfigController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppLedConfigService appLedConfigService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:config:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppLedConfig> list = appLedConfigService.selectAppLedConfigList(appLedConfig);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:config:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
List<AppLedConfig> list = appLedConfigService.selectAppLedConfigList(appLedConfig);
|
||||||
|
ExcelUtil<AppLedConfig> util = new ExcelUtil<AppLedConfig>(AppLedConfig.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:config:query')")
|
||||||
|
@GetMapping(value = "/{ledId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("ledId") String ledId)
|
||||||
|
{
|
||||||
|
return success(appLedConfigService.selectAppLedConfigByLedId(ledId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:config:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
return toAjax(appLedConfigService.insertAppLedConfig(appLedConfig));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:config:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
return toAjax(appLedConfigService.updateAppLedConfig(appLedConfig));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:config:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ledIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] ledIds)
|
||||||
|
{
|
||||||
|
return toAjax(appLedConfigService.deleteAppLedConfigByLedIds(ledIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLocation;
|
||||||
|
import com.ruoyi.app.service.IAppLocationService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/location")
|
||||||
|
public class AppLocationController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppLocationService appLocationService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:location:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppLocation appLocation)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppLocation> list = appLocationService.selectAppLocationList(appLocation);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:location:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppLocation appLocation)
|
||||||
|
{
|
||||||
|
List<AppLocation> list = appLocationService.selectAppLocationList(appLocation);
|
||||||
|
ExcelUtil<AppLocation> util = new ExcelUtil<AppLocation>(AppLocation.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:location:query')")
|
||||||
|
@GetMapping(value = "/{locationId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("locationId") String locationId)
|
||||||
|
{
|
||||||
|
return success(appLocationService.selectAppLocationByLocationId(locationId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:location:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppLocation appLocation)
|
||||||
|
{
|
||||||
|
return toAjax(appLocationService.insertAppLocation(appLocation));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:location:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppLocation appLocation)
|
||||||
|
{
|
||||||
|
return toAjax(appLocationService.updateAppLocation(appLocation));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:location:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{locationIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] locationIds)
|
||||||
|
{
|
||||||
|
return toAjax(appLocationService.deleteAppLocationByLocationIds(locationIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderIn;
|
||||||
|
import com.ruoyi.app.service.IAppPmsOrderInService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/pmwOrderIn")
|
||||||
|
public class AppPmsOrderInController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppPmsOrderInService appPmsOrderInService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:in:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppPmsOrderIn> list = appPmsOrderInService.selectAppPmsOrderInList(appPmsOrderIn);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:in:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
List<AppPmsOrderIn> list = appPmsOrderInService.selectAppPmsOrderInList(appPmsOrderIn);
|
||||||
|
ExcelUtil<AppPmsOrderIn> util = new ExcelUtil<AppPmsOrderIn>(AppPmsOrderIn.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:in:query')")
|
||||||
|
@GetMapping(value = "/{listId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("listId") String listId)
|
||||||
|
{
|
||||||
|
return success(appPmsOrderInService.selectAppPmsOrderInByListId(listId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:in:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
return toAjax(appPmsOrderInService.insertAppPmsOrderIn(appPmsOrderIn));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:in:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
return toAjax(appPmsOrderInService.updateAppPmsOrderIn(appPmsOrderIn));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:in:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{listIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] listIds)
|
||||||
|
{
|
||||||
|
return toAjax(appPmsOrderInService.deleteAppPmsOrderInByListIds(listIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderOut;
|
||||||
|
import com.ruoyi.app.service.IAppPmsOrderOutService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/pmsOrderOut")
|
||||||
|
public class AppPmsOrderOutController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppPmsOrderOutService appPmsOrderOutService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:out:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppPmsOrderOut> list = appPmsOrderOutService.selectAppPmsOrderOutList(appPmsOrderOut);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:out:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
List<AppPmsOrderOut> list = appPmsOrderOutService.selectAppPmsOrderOutList(appPmsOrderOut);
|
||||||
|
ExcelUtil<AppPmsOrderOut> util = new ExcelUtil<AppPmsOrderOut>(AppPmsOrderOut.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:out:query')")
|
||||||
|
@GetMapping(value = "/{listId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("listId") String listId)
|
||||||
|
{
|
||||||
|
return success(appPmsOrderOutService.selectAppPmsOrderOutByListId(listId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:out:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
return toAjax(appPmsOrderOutService.insertAppPmsOrderOut(appPmsOrderOut));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:out:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
return toAjax(appPmsOrderOutService.updateAppPmsOrderOut(appPmsOrderOut));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:out:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{listIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] listIds)
|
||||||
|
{
|
||||||
|
return toAjax(appPmsOrderOutService.deleteAppPmsOrderOutByListIds(listIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppProvider;
|
||||||
|
import com.ruoyi.app.service.IAppProviderService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/provider")
|
||||||
|
public class AppProviderController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppProviderService appProviderService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:provider:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppProvider appProvider)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppProvider> list = appProviderService.selectAppProviderList(appProvider);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:provider:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppProvider appProvider)
|
||||||
|
{
|
||||||
|
List<AppProvider> list = appProviderService.selectAppProviderList(appProvider);
|
||||||
|
ExcelUtil<AppProvider> util = new ExcelUtil<AppProvider>(AppProvider.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:provider:query')")
|
||||||
|
@GetMapping(value = "/{providerId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("providerId") String providerId)
|
||||||
|
{
|
||||||
|
return success(appProviderService.selectAppProviderByProviderId(providerId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:provider:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppProvider appProvider)
|
||||||
|
{
|
||||||
|
return toAjax(appProviderService.insertAppProvider(appProvider));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:provider:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppProvider appProvider)
|
||||||
|
{
|
||||||
|
return toAjax(appProviderService.updateAppProvider(appProvider));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:provider:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{providerIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] providerIds)
|
||||||
|
{
|
||||||
|
return toAjax(appProviderService.deleteAppProviderByProviderIds(providerIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStand;
|
||||||
|
import com.ruoyi.app.service.IAppStandService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/stand")
|
||||||
|
public class AppStandController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppStandService appStandService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stand:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppStand appStand)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppStand> list = appStandService.selectAppStandList(appStand);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stand:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppStand appStand)
|
||||||
|
{
|
||||||
|
List<AppStand> list = appStandService.selectAppStandList(appStand);
|
||||||
|
ExcelUtil<AppStand> util = new ExcelUtil<AppStand>(AppStand.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stand:query')")
|
||||||
|
@GetMapping(value = "/{standId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("standId") String standId)
|
||||||
|
{
|
||||||
|
return success(appStandService.selectAppStandByStandId(standId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stand:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppStand appStand)
|
||||||
|
{
|
||||||
|
return toAjax(appStandService.insertAppStand(appStand));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stand:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppStand appStand)
|
||||||
|
{
|
||||||
|
return toAjax(appStandService.updateAppStand(appStand));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stand:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{standIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] standIds)
|
||||||
|
{
|
||||||
|
return toAjax(appStandService.deleteAppStandByStandIds(standIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStock;
|
||||||
|
import com.ruoyi.app.service.IAppStockService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/system/stock")
|
||||||
|
public class AppStockController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppStockService appStockService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stock:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppStock appStock)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppStock> list = appStockService.selectAppStockList(appStock);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stock:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppStock appStock)
|
||||||
|
{
|
||||||
|
List<AppStock> list = appStockService.selectAppStockList(appStock);
|
||||||
|
ExcelUtil<AppStock> util = new ExcelUtil<AppStock>(AppStock.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stock:query')")
|
||||||
|
@GetMapping(value = "/{stockId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("stockId") String stockId)
|
||||||
|
{
|
||||||
|
return success(appStockService.selectAppStockByStockId(stockId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stock:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppStock appStock)
|
||||||
|
{
|
||||||
|
return toAjax(appStockService.insertAppStock(appStock));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stock:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppStock appStock)
|
||||||
|
{
|
||||||
|
return toAjax(appStockService.updateAppStock(appStock));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:stock:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{stockIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] stockIds)
|
||||||
|
{
|
||||||
|
return toAjax(appStockService.deleteAppStockByStockIds(stockIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTaskBak;
|
||||||
|
import com.ruoyi.app.service.IAppTaskBakService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/taskBak")
|
||||||
|
public class AppTaskBakController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppTaskBakService appTaskBakService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppTaskBak> list = appTaskBakService.selectAppTaskBakList(appTaskBak);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
List<AppTaskBak> list = appTaskBakService.selectAppTaskBakList(appTaskBak);
|
||||||
|
ExcelUtil<AppTaskBak> util = new ExcelUtil<AppTaskBak>(AppTaskBak.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:query')")
|
||||||
|
@GetMapping(value = "/{taskId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("taskId") String taskId)
|
||||||
|
{
|
||||||
|
return success(appTaskBakService.selectAppTaskBakByTaskId(taskId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
return toAjax(appTaskBakService.insertAppTaskBak(appTaskBak));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
return toAjax(appTaskBakService.updateAppTaskBak(appTaskBak));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{taskIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] taskIds)
|
||||||
|
{
|
||||||
|
return toAjax(appTaskBakService.deleteAppTaskBakByTaskIds(taskIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTask;
|
||||||
|
import com.ruoyi.app.service.IAppTaskService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/task")
|
||||||
|
public class AppTaskController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppTaskService appTaskService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppTask appTask)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppTask> list = appTaskService.selectAppTaskList(appTask);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppTask appTask)
|
||||||
|
{
|
||||||
|
List<AppTask> list = appTaskService.selectAppTaskList(appTask);
|
||||||
|
ExcelUtil<AppTask> util = new ExcelUtil<AppTask>(AppTask.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:query')")
|
||||||
|
@GetMapping(value = "/{taskId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("taskId") String taskId)
|
||||||
|
{
|
||||||
|
return success(appTaskService.selectAppTaskByTaskId(taskId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppTask appTask)
|
||||||
|
{
|
||||||
|
return toAjax(appTaskService.insertAppTask(appTask));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppTask appTask)
|
||||||
|
{
|
||||||
|
return toAjax(appTaskService.updateAppTask(appTask));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{taskIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] taskIds)
|
||||||
|
{
|
||||||
|
return toAjax(appTaskService.deleteAppTaskByTaskIds(taskIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppVehicle;
|
||||||
|
import com.ruoyi.app.service.IAppVehicleService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/vehicle")
|
||||||
|
public class AppVehicleController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppVehicleService appVehicleService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:vehicle:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppVehicle> list = appVehicleService.selectAppVehicleList(appVehicle);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:vehicle:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
List<AppVehicle> list = appVehicleService.selectAppVehicleList(appVehicle);
|
||||||
|
ExcelUtil<AppVehicle> util = new ExcelUtil<AppVehicle>(AppVehicle.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:vehicle:query')")
|
||||||
|
@GetMapping(value = "/{vehicleId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("vehicleId") String vehicleId)
|
||||||
|
{
|
||||||
|
return success(appVehicleService.selectAppVehicleByVehicleId(vehicleId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:vehicle:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
return toAjax(appVehicleService.insertAppVehicle(appVehicle));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:vehicle:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
return toAjax(appVehicleService.updateAppVehicle(appVehicle));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:vehicle:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{vehicleIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] vehicleIds)
|
||||||
|
{
|
||||||
|
return toAjax(appVehicleService.deleteAppVehicleByVehicleIds(vehicleIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWave;
|
||||||
|
import com.ruoyi.app.service.IAppWaveService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/wave")
|
||||||
|
public class AppWaveController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppWaveService appWaveService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:wave:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppWave appWave)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppWave> list = appWaveService.selectAppWaveList(appWave);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:wave:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppWave appWave)
|
||||||
|
{
|
||||||
|
List<AppWave> list = appWaveService.selectAppWaveList(appWave);
|
||||||
|
ExcelUtil<AppWave> util = new ExcelUtil<AppWave>(AppWave.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:wave:query')")
|
||||||
|
@GetMapping(value = "/{waveId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("waveId") String waveId)
|
||||||
|
{
|
||||||
|
return success(appWaveService.selectAppWaveByWaveId(waveId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:wave:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppWave appWave)
|
||||||
|
{
|
||||||
|
return toAjax(appWaveService.insertAppWave(appWave));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:wave:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppWave appWave)
|
||||||
|
{
|
||||||
|
return toAjax(appWaveService.updateAppWave(appWave));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:wave:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{waveIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] waveIds)
|
||||||
|
{
|
||||||
|
return toAjax(appWaveService.deleteAppWaveByWaveIds(waveIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTaskBak;
|
||||||
|
import com.ruoyi.app.service.IAppWcsTaskBakService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/WcsTaskBak")
|
||||||
|
public class AppWcsTaskBakController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppWcsTaskBakService appWcsTaskBakService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppWcsTaskBak> list = appWcsTaskBakService.selectAppWcsTaskBakList(appWcsTaskBak);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
List<AppWcsTaskBak> list = appWcsTaskBakService.selectAppWcsTaskBakList(appWcsTaskBak);
|
||||||
|
ExcelUtil<AppWcsTaskBak> util = new ExcelUtil<AppWcsTaskBak>(AppWcsTaskBak.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:query')")
|
||||||
|
@GetMapping(value = "/{wcsTaskId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("wcsTaskId") String wcsTaskId)
|
||||||
|
{
|
||||||
|
return success(appWcsTaskBakService.selectAppWcsTaskBakByWcsTaskId(wcsTaskId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
return toAjax(appWcsTaskBakService.insertAppWcsTaskBak(appWcsTaskBak));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
return toAjax(appWcsTaskBakService.updateAppWcsTaskBak(appWcsTaskBak));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:bak:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{wcsTaskIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] wcsTaskIds)
|
||||||
|
{
|
||||||
|
return toAjax(appWcsTaskBakService.deleteAppWcsTaskBakByWcsTaskIds(wcsTaskIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,105 @@
|
||||||
|
package com.ruoyi.web.controller.app;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTask;
|
||||||
|
import com.ruoyi.app.service.IAppWcsTaskService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/app/wcsTask")
|
||||||
|
public class AppWcsTaskController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IAppWcsTaskService appWcsTaskService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<AppWcsTask> list = appWcsTaskService.selectAppWcsTaskList(appWcsTask);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出【请填写功能名称】列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:export')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
List<AppWcsTask> list = appWcsTaskService.selectAppWcsTaskList(appWcsTask);
|
||||||
|
ExcelUtil<AppWcsTask> util = new ExcelUtil<AppWcsTask>(AppWcsTask.class);
|
||||||
|
util.exportExcel(response, list, "【请填写功能名称】数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取【请填写功能名称】详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:query')")
|
||||||
|
@GetMapping(value = "/{wcsTaskId}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("wcsTaskId") String wcsTaskId)
|
||||||
|
{
|
||||||
|
return success(appWcsTaskService.selectAppWcsTaskByWcsTaskId(wcsTaskId));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:add')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
return toAjax(appWcsTaskService.insertAppWcsTask(appWcsTask));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:edit')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
return toAjax(appWcsTaskService.updateAppWcsTask(appWcsTask));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('system:task:remove')")
|
||||||
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{wcsTaskIds}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] wcsTaskIds)
|
||||||
|
{
|
||||||
|
return toAjax(appWcsTaskService.deleteAppWcsTaskByWcsTaskIds(wcsTaskIds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -57,9 +57,9 @@ spring:
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
# 单个文件大小
|
# 单个文件大小
|
||||||
max-file-size: 10MB
|
max-file-size: 100MB
|
||||||
# 设置总上传的文件大小
|
# 设置总上传的文件大小
|
||||||
max-request-size: 20MB
|
max-request-size: 1000MB
|
||||||
# 服务模块
|
# 服务模块
|
||||||
devtools:
|
devtools:
|
||||||
restart:
|
restart:
|
||||||
|
|
|
||||||
139
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppGoods.java
Normal file
139
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppGoods.java
Normal file
|
|
@ -0,0 +1,139 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_goods
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppGoods extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 物料编号 */
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
/** 物料名称/描述 */
|
||||||
|
@Excel(name = "物料名称/描述")
|
||||||
|
private String goodsName;
|
||||||
|
|
||||||
|
/** 单位 */
|
||||||
|
@Excel(name = "单位")
|
||||||
|
private String goodsUnit;
|
||||||
|
|
||||||
|
/** 物料类型 */
|
||||||
|
@Excel(name = "物料类型")
|
||||||
|
private String goodsType;
|
||||||
|
|
||||||
|
/** 通用容器类型 */
|
||||||
|
@Excel(name = "通用容器类型")
|
||||||
|
private String normalVehicleType;
|
||||||
|
|
||||||
|
/** 物料状态 */
|
||||||
|
@Excel(name = "物料状态")
|
||||||
|
private Long goodsStatus;
|
||||||
|
|
||||||
|
/** 最近更新用户 */
|
||||||
|
@Excel(name = "最近更新用户")
|
||||||
|
private String lastUpdateUser;
|
||||||
|
|
||||||
|
/** 最近更新时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "最近更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date lastUpdateTime;
|
||||||
|
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
public void setGoodsName(String goodsName)
|
||||||
|
{
|
||||||
|
this.goodsName = goodsName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsName()
|
||||||
|
{
|
||||||
|
return goodsName;
|
||||||
|
}
|
||||||
|
public void setGoodsUnit(String goodsUnit)
|
||||||
|
{
|
||||||
|
this.goodsUnit = goodsUnit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsUnit()
|
||||||
|
{
|
||||||
|
return goodsUnit;
|
||||||
|
}
|
||||||
|
public void setGoodsType(String goodsType)
|
||||||
|
{
|
||||||
|
this.goodsType = goodsType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsType()
|
||||||
|
{
|
||||||
|
return goodsType;
|
||||||
|
}
|
||||||
|
public void setNormalVehicleType(String normalVehicleType)
|
||||||
|
{
|
||||||
|
this.normalVehicleType = normalVehicleType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNormalVehicleType()
|
||||||
|
{
|
||||||
|
return normalVehicleType;
|
||||||
|
}
|
||||||
|
public void setGoodsStatus(Long goodsStatus)
|
||||||
|
{
|
||||||
|
this.goodsStatus = goodsStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getGoodsStatus()
|
||||||
|
{
|
||||||
|
return goodsStatus;
|
||||||
|
}
|
||||||
|
public void setLastUpdateUser(String lastUpdateUser)
|
||||||
|
{
|
||||||
|
this.lastUpdateUser = lastUpdateUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLastUpdateUser()
|
||||||
|
{
|
||||||
|
return lastUpdateUser;
|
||||||
|
}
|
||||||
|
public void setLastUpdateTime(Date lastUpdateTime)
|
||||||
|
{
|
||||||
|
this.lastUpdateTime = lastUpdateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getLastUpdateTime()
|
||||||
|
{
|
||||||
|
return lastUpdateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.append("goodsName", getGoodsName())
|
||||||
|
.append("goodsUnit", getGoodsUnit())
|
||||||
|
.append("goodsType", getGoodsType())
|
||||||
|
.append("normalVehicleType", getNormalVehicleType())
|
||||||
|
.append("goodsStatus", getGoodsStatus())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.append("lastUpdateUser", getLastUpdateUser())
|
||||||
|
.append("lastUpdateTime", getLastUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_goods_pair
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppGoodsPair extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 配对id */
|
||||||
|
private String pairId;
|
||||||
|
|
||||||
|
/** 物料编号 */
|
||||||
|
@Excel(name = "物料编号")
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
public void setPairId(String pairId)
|
||||||
|
{
|
||||||
|
this.pairId = pairId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPairId()
|
||||||
|
{
|
||||||
|
return pairId;
|
||||||
|
}
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("pairId", getPairId())
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_led_config
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppLedConfig extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 主键 */
|
||||||
|
private String ledId;
|
||||||
|
|
||||||
|
public void setLedId(String ledId)
|
||||||
|
{
|
||||||
|
this.ledId = ledId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLedId()
|
||||||
|
{
|
||||||
|
return ledId;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("ledId", getLedId())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
206
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppLocation.java
Normal file
206
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppLocation.java
Normal file
|
|
@ -0,0 +1,206 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_location
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppLocation extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 库位号 */
|
||||||
|
private String locationId;
|
||||||
|
|
||||||
|
/** 库位类型 */
|
||||||
|
@Excel(name = "库位类型")
|
||||||
|
private Long locationType;
|
||||||
|
|
||||||
|
/** 库位状态 */
|
||||||
|
@Excel(name = "库位状态")
|
||||||
|
private Long locationStatus;
|
||||||
|
|
||||||
|
/** 外部库位号 */
|
||||||
|
@Excel(name = "外部库位号")
|
||||||
|
private String outerId;
|
||||||
|
|
||||||
|
/** 库区号 */
|
||||||
|
@Excel(name = "库区号")
|
||||||
|
private Long areaId;
|
||||||
|
|
||||||
|
/** 巷道号 */
|
||||||
|
@Excel(name = "巷道号")
|
||||||
|
private Long tunnelId;
|
||||||
|
|
||||||
|
/** 设备号 */
|
||||||
|
@Excel(name = "设备号")
|
||||||
|
private Long equipmentId;
|
||||||
|
|
||||||
|
/** 排 */
|
||||||
|
@Excel(name = "排")
|
||||||
|
private Long wRow;
|
||||||
|
|
||||||
|
/** 列 */
|
||||||
|
@Excel(name = "列")
|
||||||
|
private Long wCol;
|
||||||
|
|
||||||
|
/** 层 */
|
||||||
|
@Excel(name = "层")
|
||||||
|
private Long wLayer;
|
||||||
|
|
||||||
|
/** 深度 */
|
||||||
|
@Excel(name = "深度")
|
||||||
|
private Long wDepth;
|
||||||
|
|
||||||
|
/** 是否锁定 */
|
||||||
|
@Excel(name = "是否锁定")
|
||||||
|
private Long isLock;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
@Excel(name = "载具号")
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
public void setLocationId(String locationId)
|
||||||
|
{
|
||||||
|
this.locationId = locationId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLocationId()
|
||||||
|
{
|
||||||
|
return locationId;
|
||||||
|
}
|
||||||
|
public void setLocationType(Long locationType)
|
||||||
|
{
|
||||||
|
this.locationType = locationType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getLocationType()
|
||||||
|
{
|
||||||
|
return locationType;
|
||||||
|
}
|
||||||
|
public void setLocationStatus(Long locationStatus)
|
||||||
|
{
|
||||||
|
this.locationStatus = locationStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getLocationStatus()
|
||||||
|
{
|
||||||
|
return locationStatus;
|
||||||
|
}
|
||||||
|
public void setOuterId(String outerId)
|
||||||
|
{
|
||||||
|
this.outerId = outerId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOuterId()
|
||||||
|
{
|
||||||
|
return outerId;
|
||||||
|
}
|
||||||
|
public void setAreaId(Long areaId)
|
||||||
|
{
|
||||||
|
this.areaId = areaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getAreaId()
|
||||||
|
{
|
||||||
|
return areaId;
|
||||||
|
}
|
||||||
|
public void setTunnelId(Long tunnelId)
|
||||||
|
{
|
||||||
|
this.tunnelId = tunnelId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTunnelId()
|
||||||
|
{
|
||||||
|
return tunnelId;
|
||||||
|
}
|
||||||
|
public void setEquipmentId(Long equipmentId)
|
||||||
|
{
|
||||||
|
this.equipmentId = equipmentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getEquipmentId()
|
||||||
|
{
|
||||||
|
return equipmentId;
|
||||||
|
}
|
||||||
|
public void setwRow(Long wRow)
|
||||||
|
{
|
||||||
|
this.wRow = wRow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getwRow()
|
||||||
|
{
|
||||||
|
return wRow;
|
||||||
|
}
|
||||||
|
public void setwCol(Long wCol)
|
||||||
|
{
|
||||||
|
this.wCol = wCol;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getwCol()
|
||||||
|
{
|
||||||
|
return wCol;
|
||||||
|
}
|
||||||
|
public void setwLayer(Long wLayer)
|
||||||
|
{
|
||||||
|
this.wLayer = wLayer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getwLayer()
|
||||||
|
{
|
||||||
|
return wLayer;
|
||||||
|
}
|
||||||
|
public void setwDepth(Long wDepth)
|
||||||
|
{
|
||||||
|
this.wDepth = wDepth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getwDepth()
|
||||||
|
{
|
||||||
|
return wDepth;
|
||||||
|
}
|
||||||
|
public void setIsLock(Long isLock)
|
||||||
|
{
|
||||||
|
this.isLock = isLock;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getIsLock()
|
||||||
|
{
|
||||||
|
return isLock;
|
||||||
|
}
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("locationId", getLocationId())
|
||||||
|
.append("locationType", getLocationType())
|
||||||
|
.append("locationStatus", getLocationStatus())
|
||||||
|
.append("outerId", getOuterId())
|
||||||
|
.append("areaId", getAreaId())
|
||||||
|
.append("tunnelId", getTunnelId())
|
||||||
|
.append("equipmentId", getEquipmentId())
|
||||||
|
.append("wRow", getwRow())
|
||||||
|
.append("wCol", getwCol())
|
||||||
|
.append("wLayer", getwLayer())
|
||||||
|
.append("wDepth", getwDepth())
|
||||||
|
.append("isLock", getIsLock())
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,178 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_pms_order_in
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppPmsOrderIn extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 入库单号 */
|
||||||
|
private String listId;
|
||||||
|
|
||||||
|
/** 订单类型 */
|
||||||
|
@Excel(name = "订单类型")
|
||||||
|
private Long orderType;
|
||||||
|
|
||||||
|
/** 客户ID */
|
||||||
|
@Excel(name = "客户ID")
|
||||||
|
private String customerId;
|
||||||
|
|
||||||
|
/** 订单号 */
|
||||||
|
@Excel(name = "订单号")
|
||||||
|
private String orderId;
|
||||||
|
|
||||||
|
/** 物料号 */
|
||||||
|
@Excel(name = "物料号")
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
/** 数量 */
|
||||||
|
@Excel(name = "数量")
|
||||||
|
private BigDecimal goodsNum;
|
||||||
|
|
||||||
|
/** 物料条码 */
|
||||||
|
@Excel(name = "物料条码")
|
||||||
|
private String goodsCode;
|
||||||
|
|
||||||
|
/** 物料描述 */
|
||||||
|
@Excel(name = "物料描述")
|
||||||
|
private String goodsDesc;
|
||||||
|
|
||||||
|
/** 物料单位 */
|
||||||
|
@Excel(name = "物料单位")
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
/** 预留1 */
|
||||||
|
@Excel(name = "预留1")
|
||||||
|
private String spare1;
|
||||||
|
|
||||||
|
/** 预留2 */
|
||||||
|
@Excel(name = "预留2")
|
||||||
|
private String spare2;
|
||||||
|
|
||||||
|
public void setListId(String listId)
|
||||||
|
{
|
||||||
|
this.listId = listId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getListId()
|
||||||
|
{
|
||||||
|
return listId;
|
||||||
|
}
|
||||||
|
public void setOrderType(Long orderType)
|
||||||
|
{
|
||||||
|
this.orderType = orderType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getOrderType()
|
||||||
|
{
|
||||||
|
return orderType;
|
||||||
|
}
|
||||||
|
public void setCustomerId(String customerId)
|
||||||
|
{
|
||||||
|
this.customerId = customerId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCustomerId()
|
||||||
|
{
|
||||||
|
return customerId;
|
||||||
|
}
|
||||||
|
public void setOrderId(String orderId)
|
||||||
|
{
|
||||||
|
this.orderId = orderId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrderId()
|
||||||
|
{
|
||||||
|
return orderId;
|
||||||
|
}
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
public void setGoodsNum(BigDecimal goodsNum)
|
||||||
|
{
|
||||||
|
this.goodsNum = goodsNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getGoodsNum()
|
||||||
|
{
|
||||||
|
return goodsNum;
|
||||||
|
}
|
||||||
|
public void setGoodsCode(String goodsCode)
|
||||||
|
{
|
||||||
|
this.goodsCode = goodsCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsCode()
|
||||||
|
{
|
||||||
|
return goodsCode;
|
||||||
|
}
|
||||||
|
public void setGoodsDesc(String goodsDesc)
|
||||||
|
{
|
||||||
|
this.goodsDesc = goodsDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsDesc()
|
||||||
|
{
|
||||||
|
return goodsDesc;
|
||||||
|
}
|
||||||
|
public void setUnit(String unit)
|
||||||
|
{
|
||||||
|
this.unit = unit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUnit()
|
||||||
|
{
|
||||||
|
return unit;
|
||||||
|
}
|
||||||
|
public void setSpare1(String spare1)
|
||||||
|
{
|
||||||
|
this.spare1 = spare1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSpare1()
|
||||||
|
{
|
||||||
|
return spare1;
|
||||||
|
}
|
||||||
|
public void setSpare2(String spare2)
|
||||||
|
{
|
||||||
|
this.spare2 = spare2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSpare2()
|
||||||
|
{
|
||||||
|
return spare2;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("listId", getListId())
|
||||||
|
.append("orderType", getOrderType())
|
||||||
|
.append("customerId", getCustomerId())
|
||||||
|
.append("orderId", getOrderId())
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.append("goodsNum", getGoodsNum())
|
||||||
|
.append("goodsCode", getGoodsCode())
|
||||||
|
.append("goodsDesc", getGoodsDesc())
|
||||||
|
.append("unit", getUnit())
|
||||||
|
.append("spare1", getSpare1())
|
||||||
|
.append("spare2", getSpare2())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,136 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_pms_order_out
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppPmsOrderOut extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 出库单号 */
|
||||||
|
private String listId;
|
||||||
|
|
||||||
|
/** 出库单类型 */
|
||||||
|
@Excel(name = "出库单类型")
|
||||||
|
private Long orderType;
|
||||||
|
|
||||||
|
/** 客户名称 */
|
||||||
|
@Excel(name = "客户名称")
|
||||||
|
private String customerId;
|
||||||
|
|
||||||
|
/** 物料号 */
|
||||||
|
@Excel(name = "物料号")
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
/** 出库数量 */
|
||||||
|
@Excel(name = "出库数量")
|
||||||
|
private BigDecimal goodsNum;
|
||||||
|
|
||||||
|
/** 物料描述 */
|
||||||
|
@Excel(name = "物料描述")
|
||||||
|
private String goodsDesc;
|
||||||
|
|
||||||
|
/** 预留1 */
|
||||||
|
@Excel(name = "预留1")
|
||||||
|
private String spare1;
|
||||||
|
|
||||||
|
/** 预留2 */
|
||||||
|
@Excel(name = "预留2")
|
||||||
|
private String spare2;
|
||||||
|
|
||||||
|
public void setListId(String listId)
|
||||||
|
{
|
||||||
|
this.listId = listId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getListId()
|
||||||
|
{
|
||||||
|
return listId;
|
||||||
|
}
|
||||||
|
public void setOrderType(Long orderType)
|
||||||
|
{
|
||||||
|
this.orderType = orderType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getOrderType()
|
||||||
|
{
|
||||||
|
return orderType;
|
||||||
|
}
|
||||||
|
public void setCustomerId(String customerId)
|
||||||
|
{
|
||||||
|
this.customerId = customerId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCustomerId()
|
||||||
|
{
|
||||||
|
return customerId;
|
||||||
|
}
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
public void setGoodsNum(BigDecimal goodsNum)
|
||||||
|
{
|
||||||
|
this.goodsNum = goodsNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getGoodsNum()
|
||||||
|
{
|
||||||
|
return goodsNum;
|
||||||
|
}
|
||||||
|
public void setGoodsDesc(String goodsDesc)
|
||||||
|
{
|
||||||
|
this.goodsDesc = goodsDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsDesc()
|
||||||
|
{
|
||||||
|
return goodsDesc;
|
||||||
|
}
|
||||||
|
public void setSpare1(String spare1)
|
||||||
|
{
|
||||||
|
this.spare1 = spare1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSpare1()
|
||||||
|
{
|
||||||
|
return spare1;
|
||||||
|
}
|
||||||
|
public void setSpare2(String spare2)
|
||||||
|
{
|
||||||
|
this.spare2 = spare2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSpare2()
|
||||||
|
{
|
||||||
|
return spare2;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("listId", getListId())
|
||||||
|
.append("orderType", getOrderType())
|
||||||
|
.append("customerId", getCustomerId())
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.append("goodsNum", getGoodsNum())
|
||||||
|
.append("goodsDesc", getGoodsDesc())
|
||||||
|
.append("spare1", getSpare1())
|
||||||
|
.append("spare2", getSpare2())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
124
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppProvider.java
Normal file
124
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppProvider.java
Normal file
|
|
@ -0,0 +1,124 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_provider
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppProvider extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 供应商id */
|
||||||
|
private String providerId;
|
||||||
|
|
||||||
|
/** 供应商名称 */
|
||||||
|
@Excel(name = "供应商名称")
|
||||||
|
private String providerName;
|
||||||
|
|
||||||
|
/** 联系方式 */
|
||||||
|
@Excel(name = "联系方式")
|
||||||
|
private Long providerContact;
|
||||||
|
|
||||||
|
/** 地址 */
|
||||||
|
@Excel(name = "地址")
|
||||||
|
private String providerAddress;
|
||||||
|
|
||||||
|
/** 供应商状态 */
|
||||||
|
@Excel(name = "供应商状态")
|
||||||
|
private Long providerStatus;
|
||||||
|
|
||||||
|
/** 最近更新用户 */
|
||||||
|
@Excel(name = "最近更新用户")
|
||||||
|
private String lastUpdateUser;
|
||||||
|
|
||||||
|
/** 最近更新时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "最近更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date lastUpdateTime;
|
||||||
|
|
||||||
|
public void setProviderId(String providerId)
|
||||||
|
{
|
||||||
|
this.providerId = providerId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProviderId()
|
||||||
|
{
|
||||||
|
return providerId;
|
||||||
|
}
|
||||||
|
public void setProviderName(String providerName)
|
||||||
|
{
|
||||||
|
this.providerName = providerName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProviderName()
|
||||||
|
{
|
||||||
|
return providerName;
|
||||||
|
}
|
||||||
|
public void setProviderContact(Long providerContact)
|
||||||
|
{
|
||||||
|
this.providerContact = providerContact;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getProviderContact()
|
||||||
|
{
|
||||||
|
return providerContact;
|
||||||
|
}
|
||||||
|
public void setProviderAddress(String providerAddress)
|
||||||
|
{
|
||||||
|
this.providerAddress = providerAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProviderAddress()
|
||||||
|
{
|
||||||
|
return providerAddress;
|
||||||
|
}
|
||||||
|
public void setProviderStatus(Long providerStatus)
|
||||||
|
{
|
||||||
|
this.providerStatus = providerStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getProviderStatus()
|
||||||
|
{
|
||||||
|
return providerStatus;
|
||||||
|
}
|
||||||
|
public void setLastUpdateUser(String lastUpdateUser)
|
||||||
|
{
|
||||||
|
this.lastUpdateUser = lastUpdateUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLastUpdateUser()
|
||||||
|
{
|
||||||
|
return lastUpdateUser;
|
||||||
|
}
|
||||||
|
public void setLastUpdateTime(Date lastUpdateTime)
|
||||||
|
{
|
||||||
|
this.lastUpdateTime = lastUpdateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getLastUpdateTime()
|
||||||
|
{
|
||||||
|
return lastUpdateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("providerId", getProviderId())
|
||||||
|
.append("providerName", getProviderName())
|
||||||
|
.append("providerContact", getProviderContact())
|
||||||
|
.append("providerAddress", getProviderAddress())
|
||||||
|
.append("providerStatus", getProviderStatus())
|
||||||
|
.append("lastUpdateUser", getLastUpdateUser())
|
||||||
|
.append("lastUpdateTime", getLastUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
122
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppStand.java
Normal file
122
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppStand.java
Normal file
|
|
@ -0,0 +1,122 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_stand
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppStand extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 站台id */
|
||||||
|
private String standId;
|
||||||
|
|
||||||
|
/** 站台名称 */
|
||||||
|
@Excel(name = "站台名称")
|
||||||
|
private String standName;
|
||||||
|
|
||||||
|
/** 站台类型 */
|
||||||
|
@Excel(name = "站台类型")
|
||||||
|
private String standType;
|
||||||
|
|
||||||
|
/** 站台区域 */
|
||||||
|
@Excel(name = "站台区域")
|
||||||
|
private String standArea;
|
||||||
|
|
||||||
|
/** 站台属性 */
|
||||||
|
@Excel(name = "站台属性")
|
||||||
|
private String standProperty;
|
||||||
|
|
||||||
|
/** 站台状态 */
|
||||||
|
@Excel(name = "站台状态")
|
||||||
|
private Long standStatus;
|
||||||
|
|
||||||
|
/** 是否锁定 */
|
||||||
|
@Excel(name = "是否锁定")
|
||||||
|
private Long isLock;
|
||||||
|
|
||||||
|
public void setStandId(String standId)
|
||||||
|
{
|
||||||
|
this.standId = standId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStandId()
|
||||||
|
{
|
||||||
|
return standId;
|
||||||
|
}
|
||||||
|
public void setStandName(String standName)
|
||||||
|
{
|
||||||
|
this.standName = standName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStandName()
|
||||||
|
{
|
||||||
|
return standName;
|
||||||
|
}
|
||||||
|
public void setStandType(String standType)
|
||||||
|
{
|
||||||
|
this.standType = standType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStandType()
|
||||||
|
{
|
||||||
|
return standType;
|
||||||
|
}
|
||||||
|
public void setStandArea(String standArea)
|
||||||
|
{
|
||||||
|
this.standArea = standArea;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStandArea()
|
||||||
|
{
|
||||||
|
return standArea;
|
||||||
|
}
|
||||||
|
public void setStandProperty(String standProperty)
|
||||||
|
{
|
||||||
|
this.standProperty = standProperty;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStandProperty()
|
||||||
|
{
|
||||||
|
return standProperty;
|
||||||
|
}
|
||||||
|
public void setStandStatus(Long standStatus)
|
||||||
|
{
|
||||||
|
this.standStatus = standStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getStandStatus()
|
||||||
|
{
|
||||||
|
return standStatus;
|
||||||
|
}
|
||||||
|
public void setIsLock(Long isLock)
|
||||||
|
{
|
||||||
|
this.isLock = isLock;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getIsLock()
|
||||||
|
{
|
||||||
|
return isLock;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("standId", getStandId())
|
||||||
|
.append("standName", getStandName())
|
||||||
|
.append("standType", getStandType())
|
||||||
|
.append("standArea", getStandArea())
|
||||||
|
.append("standProperty", getStandProperty())
|
||||||
|
.append("standStatus", getStandStatus())
|
||||||
|
.append("isLock", getIsLock())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
267
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppStock.java
Normal file
267
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppStock.java
Normal file
|
|
@ -0,0 +1,267 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_stock
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppStock extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 物料编号 */
|
||||||
|
private String stockId;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
@Excel(name = "载具号")
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
/** 库位号 */
|
||||||
|
@Excel(name = "库位号")
|
||||||
|
private String locationId;
|
||||||
|
|
||||||
|
/** 物料编号 */
|
||||||
|
@Excel(name = "物料编号")
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
/** 物料名称 */
|
||||||
|
@Excel(name = "物料名称")
|
||||||
|
private String goodsName;
|
||||||
|
|
||||||
|
/** 单位 */
|
||||||
|
@Excel(name = "单位")
|
||||||
|
private String goodsUnit;
|
||||||
|
|
||||||
|
/** 供应商id */
|
||||||
|
@Excel(name = "供应商id")
|
||||||
|
private String providerId;
|
||||||
|
|
||||||
|
/** 供应商名称 */
|
||||||
|
@Excel(name = "供应商名称")
|
||||||
|
private String providerName;
|
||||||
|
|
||||||
|
/** 剩余数量 */
|
||||||
|
@Excel(name = "剩余数量")
|
||||||
|
private BigDecimal remainNum;
|
||||||
|
|
||||||
|
/** 入库数量 */
|
||||||
|
@Excel(name = "入库数量")
|
||||||
|
private BigDecimal originNum;
|
||||||
|
|
||||||
|
/** 批次号 */
|
||||||
|
@Excel(name = "批次号")
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
/** 库龄 */
|
||||||
|
@Excel(name = "库龄")
|
||||||
|
private Long invAge;
|
||||||
|
|
||||||
|
/** 物料状态 */
|
||||||
|
@Excel(name = "物料状态")
|
||||||
|
private Long goodsStatus;
|
||||||
|
|
||||||
|
/** 库存状态 */
|
||||||
|
@Excel(name = "库存状态")
|
||||||
|
private Long stockStatus;
|
||||||
|
|
||||||
|
/** 入库用户 */
|
||||||
|
@Excel(name = "入库用户")
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
|
/** 最近更新时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "最近更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date lastUpdateTime;
|
||||||
|
|
||||||
|
/** 最近更新用户 */
|
||||||
|
@Excel(name = "最近更新用户")
|
||||||
|
private String lastUpdateUser;
|
||||||
|
|
||||||
|
public void setStockId(String stockId)
|
||||||
|
{
|
||||||
|
this.stockId = stockId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStockId()
|
||||||
|
{
|
||||||
|
return stockId;
|
||||||
|
}
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
public void setLocationId(String locationId)
|
||||||
|
{
|
||||||
|
this.locationId = locationId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLocationId()
|
||||||
|
{
|
||||||
|
return locationId;
|
||||||
|
}
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
public void setGoodsName(String goodsName)
|
||||||
|
{
|
||||||
|
this.goodsName = goodsName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsName()
|
||||||
|
{
|
||||||
|
return goodsName;
|
||||||
|
}
|
||||||
|
public void setGoodsUnit(String goodsUnit)
|
||||||
|
{
|
||||||
|
this.goodsUnit = goodsUnit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsUnit()
|
||||||
|
{
|
||||||
|
return goodsUnit;
|
||||||
|
}
|
||||||
|
public void setProviderId(String providerId)
|
||||||
|
{
|
||||||
|
this.providerId = providerId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProviderId()
|
||||||
|
{
|
||||||
|
return providerId;
|
||||||
|
}
|
||||||
|
public void setProviderName(String providerName)
|
||||||
|
{
|
||||||
|
this.providerName = providerName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProviderName()
|
||||||
|
{
|
||||||
|
return providerName;
|
||||||
|
}
|
||||||
|
public void setRemainNum(BigDecimal remainNum)
|
||||||
|
{
|
||||||
|
this.remainNum = remainNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getRemainNum()
|
||||||
|
{
|
||||||
|
return remainNum;
|
||||||
|
}
|
||||||
|
public void setOriginNum(BigDecimal originNum)
|
||||||
|
{
|
||||||
|
this.originNum = originNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getOriginNum()
|
||||||
|
{
|
||||||
|
return originNum;
|
||||||
|
}
|
||||||
|
public void setBatchNo(String batchNo)
|
||||||
|
{
|
||||||
|
this.batchNo = batchNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBatchNo()
|
||||||
|
{
|
||||||
|
return batchNo;
|
||||||
|
}
|
||||||
|
public void setInvAge(Long invAge)
|
||||||
|
{
|
||||||
|
this.invAge = invAge;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getInvAge()
|
||||||
|
{
|
||||||
|
return invAge;
|
||||||
|
}
|
||||||
|
public void setGoodsStatus(Long goodsStatus)
|
||||||
|
{
|
||||||
|
this.goodsStatus = goodsStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getGoodsStatus()
|
||||||
|
{
|
||||||
|
return goodsStatus;
|
||||||
|
}
|
||||||
|
public void setStockStatus(Long stockStatus)
|
||||||
|
{
|
||||||
|
this.stockStatus = stockStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getStockStatus()
|
||||||
|
{
|
||||||
|
return stockStatus;
|
||||||
|
}
|
||||||
|
public void setCreateUser(String createUser)
|
||||||
|
{
|
||||||
|
this.createUser = createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateUser()
|
||||||
|
{
|
||||||
|
return createUser;
|
||||||
|
}
|
||||||
|
public void setLastUpdateTime(Date lastUpdateTime)
|
||||||
|
{
|
||||||
|
this.lastUpdateTime = lastUpdateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getLastUpdateTime()
|
||||||
|
{
|
||||||
|
return lastUpdateTime;
|
||||||
|
}
|
||||||
|
public void setLastUpdateUser(String lastUpdateUser)
|
||||||
|
{
|
||||||
|
this.lastUpdateUser = lastUpdateUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLastUpdateUser()
|
||||||
|
{
|
||||||
|
return lastUpdateUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("stockId", getStockId())
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("locationId", getLocationId())
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.append("goodsName", getGoodsName())
|
||||||
|
.append("goodsUnit", getGoodsUnit())
|
||||||
|
.append("providerId", getProviderId())
|
||||||
|
.append("providerName", getProviderName())
|
||||||
|
.append("remainNum", getRemainNum())
|
||||||
|
.append("originNum", getOriginNum())
|
||||||
|
.append("batchNo", getBatchNo())
|
||||||
|
.append("invAge", getInvAge())
|
||||||
|
.append("goodsStatus", getGoodsStatus())
|
||||||
|
.append("stockStatus", getStockStatus())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("createUser", getCreateUser())
|
||||||
|
.append("lastUpdateTime", getLastUpdateTime())
|
||||||
|
.append("lastUpdateUser", getLastUpdateUser())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
210
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppTask.java
Normal file
210
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppTask.java
Normal file
|
|
@ -0,0 +1,210 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_task
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppTask extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 任务号 */
|
||||||
|
private String taskId;
|
||||||
|
|
||||||
|
/** 任务类型 */
|
||||||
|
@Excel(name = "任务类型")
|
||||||
|
private Long taskType;
|
||||||
|
|
||||||
|
/** 任务状态 */
|
||||||
|
@Excel(name = "任务状态")
|
||||||
|
private Long taskStatus;
|
||||||
|
|
||||||
|
/** 任务优先级,默认为1 */
|
||||||
|
@Excel(name = "任务优先级,默认为1")
|
||||||
|
private Long taskPriority;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
@Excel(name = "载具号")
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
/** 起点 */
|
||||||
|
@Excel(name = "起点")
|
||||||
|
private String origin;
|
||||||
|
|
||||||
|
/** 终点 */
|
||||||
|
@Excel(name = "终点")
|
||||||
|
private String destination;
|
||||||
|
|
||||||
|
/** 发送给wcs的任务号 */
|
||||||
|
@Excel(name = "发送给wcs的任务号")
|
||||||
|
private String wcsTaskId;
|
||||||
|
|
||||||
|
/** 完成时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date finishTime;
|
||||||
|
|
||||||
|
/** 物料编号 */
|
||||||
|
@Excel(name = "物料编号")
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
/** 操作数量 */
|
||||||
|
@Excel(name = "操作数量")
|
||||||
|
private BigDecimal opNum;
|
||||||
|
|
||||||
|
/** 库存数量 */
|
||||||
|
@Excel(name = "库存数量")
|
||||||
|
private BigDecimal stockNum;
|
||||||
|
|
||||||
|
/** 操作用户 */
|
||||||
|
@Excel(name = "操作用户")
|
||||||
|
private String opUser;
|
||||||
|
|
||||||
|
public void setTaskId(String taskId)
|
||||||
|
{
|
||||||
|
this.taskId = taskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTaskId()
|
||||||
|
{
|
||||||
|
return taskId;
|
||||||
|
}
|
||||||
|
public void setTaskType(Long taskType)
|
||||||
|
{
|
||||||
|
this.taskType = taskType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskType()
|
||||||
|
{
|
||||||
|
return taskType;
|
||||||
|
}
|
||||||
|
public void setTaskStatus(Long taskStatus)
|
||||||
|
{
|
||||||
|
this.taskStatus = taskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskStatus()
|
||||||
|
{
|
||||||
|
return taskStatus;
|
||||||
|
}
|
||||||
|
public void setTaskPriority(Long taskPriority)
|
||||||
|
{
|
||||||
|
this.taskPriority = taskPriority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskPriority()
|
||||||
|
{
|
||||||
|
return taskPriority;
|
||||||
|
}
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
public void setOrigin(String origin)
|
||||||
|
{
|
||||||
|
this.origin = origin;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrigin()
|
||||||
|
{
|
||||||
|
return origin;
|
||||||
|
}
|
||||||
|
public void setDestination(String destination)
|
||||||
|
{
|
||||||
|
this.destination = destination;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDestination()
|
||||||
|
{
|
||||||
|
return destination;
|
||||||
|
}
|
||||||
|
public void setWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
this.wcsTaskId = wcsTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWcsTaskId()
|
||||||
|
{
|
||||||
|
return wcsTaskId;
|
||||||
|
}
|
||||||
|
public void setFinishTime(Date finishTime)
|
||||||
|
{
|
||||||
|
this.finishTime = finishTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getFinishTime()
|
||||||
|
{
|
||||||
|
return finishTime;
|
||||||
|
}
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
public void setOpNum(BigDecimal opNum)
|
||||||
|
{
|
||||||
|
this.opNum = opNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getOpNum()
|
||||||
|
{
|
||||||
|
return opNum;
|
||||||
|
}
|
||||||
|
public void setStockNum(BigDecimal stockNum)
|
||||||
|
{
|
||||||
|
this.stockNum = stockNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getStockNum()
|
||||||
|
{
|
||||||
|
return stockNum;
|
||||||
|
}
|
||||||
|
public void setOpUser(String opUser)
|
||||||
|
{
|
||||||
|
this.opUser = opUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOpUser()
|
||||||
|
{
|
||||||
|
return opUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("taskId", getTaskId())
|
||||||
|
.append("taskType", getTaskType())
|
||||||
|
.append("taskStatus", getTaskStatus())
|
||||||
|
.append("taskPriority", getTaskPriority())
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("origin", getOrigin())
|
||||||
|
.append("destination", getDestination())
|
||||||
|
.append("wcsTaskId", getWcsTaskId())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("finishTime", getFinishTime())
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.append("opNum", getOpNum())
|
||||||
|
.append("stockNum", getStockNum())
|
||||||
|
.append("opUser", getOpUser())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
210
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppTaskBak.java
Normal file
210
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppTaskBak.java
Normal file
|
|
@ -0,0 +1,210 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_task_bak
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppTaskBak extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 任务号 */
|
||||||
|
private String taskId;
|
||||||
|
|
||||||
|
/** 任务类型 */
|
||||||
|
@Excel(name = "任务类型")
|
||||||
|
private Long taskType;
|
||||||
|
|
||||||
|
/** 任务状态 */
|
||||||
|
@Excel(name = "任务状态")
|
||||||
|
private Long taskStatus;
|
||||||
|
|
||||||
|
/** 任务优先级,默认为1 */
|
||||||
|
@Excel(name = "任务优先级,默认为1")
|
||||||
|
private Long taskPriority;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
@Excel(name = "载具号")
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
/** 起点 */
|
||||||
|
@Excel(name = "起点")
|
||||||
|
private String origin;
|
||||||
|
|
||||||
|
/** 终点 */
|
||||||
|
@Excel(name = "终点")
|
||||||
|
private String destination;
|
||||||
|
|
||||||
|
/** 发送给wcs的任务号 */
|
||||||
|
@Excel(name = "发送给wcs的任务号")
|
||||||
|
private String wcsTaskId;
|
||||||
|
|
||||||
|
/** 完成时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date finishTime;
|
||||||
|
|
||||||
|
/** 物料编号 */
|
||||||
|
@Excel(name = "物料编号")
|
||||||
|
private String goodsId;
|
||||||
|
|
||||||
|
/** 操作数量 */
|
||||||
|
@Excel(name = "操作数量")
|
||||||
|
private BigDecimal opNum;
|
||||||
|
|
||||||
|
/** 库存数量 */
|
||||||
|
@Excel(name = "库存数量")
|
||||||
|
private BigDecimal stockNum;
|
||||||
|
|
||||||
|
/** 操作用户 */
|
||||||
|
@Excel(name = "操作用户")
|
||||||
|
private String opUser;
|
||||||
|
|
||||||
|
public void setTaskId(String taskId)
|
||||||
|
{
|
||||||
|
this.taskId = taskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTaskId()
|
||||||
|
{
|
||||||
|
return taskId;
|
||||||
|
}
|
||||||
|
public void setTaskType(Long taskType)
|
||||||
|
{
|
||||||
|
this.taskType = taskType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskType()
|
||||||
|
{
|
||||||
|
return taskType;
|
||||||
|
}
|
||||||
|
public void setTaskStatus(Long taskStatus)
|
||||||
|
{
|
||||||
|
this.taskStatus = taskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskStatus()
|
||||||
|
{
|
||||||
|
return taskStatus;
|
||||||
|
}
|
||||||
|
public void setTaskPriority(Long taskPriority)
|
||||||
|
{
|
||||||
|
this.taskPriority = taskPriority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskPriority()
|
||||||
|
{
|
||||||
|
return taskPriority;
|
||||||
|
}
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
public void setOrigin(String origin)
|
||||||
|
{
|
||||||
|
this.origin = origin;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrigin()
|
||||||
|
{
|
||||||
|
return origin;
|
||||||
|
}
|
||||||
|
public void setDestination(String destination)
|
||||||
|
{
|
||||||
|
this.destination = destination;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDestination()
|
||||||
|
{
|
||||||
|
return destination;
|
||||||
|
}
|
||||||
|
public void setWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
this.wcsTaskId = wcsTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWcsTaskId()
|
||||||
|
{
|
||||||
|
return wcsTaskId;
|
||||||
|
}
|
||||||
|
public void setFinishTime(Date finishTime)
|
||||||
|
{
|
||||||
|
this.finishTime = finishTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getFinishTime()
|
||||||
|
{
|
||||||
|
return finishTime;
|
||||||
|
}
|
||||||
|
public void setGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
this.goodsId = goodsId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoodsId()
|
||||||
|
{
|
||||||
|
return goodsId;
|
||||||
|
}
|
||||||
|
public void setOpNum(BigDecimal opNum)
|
||||||
|
{
|
||||||
|
this.opNum = opNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getOpNum()
|
||||||
|
{
|
||||||
|
return opNum;
|
||||||
|
}
|
||||||
|
public void setStockNum(BigDecimal stockNum)
|
||||||
|
{
|
||||||
|
this.stockNum = stockNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getStockNum()
|
||||||
|
{
|
||||||
|
return stockNum;
|
||||||
|
}
|
||||||
|
public void setOpUser(String opUser)
|
||||||
|
{
|
||||||
|
this.opUser = opUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOpUser()
|
||||||
|
{
|
||||||
|
return opUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("taskId", getTaskId())
|
||||||
|
.append("taskType", getTaskType())
|
||||||
|
.append("taskStatus", getTaskStatus())
|
||||||
|
.append("taskPriority", getTaskPriority())
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("origin", getOrigin())
|
||||||
|
.append("destination", getDestination())
|
||||||
|
.append("wcsTaskId", getWcsTaskId())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("finishTime", getFinishTime())
|
||||||
|
.append("goodsId", getGoodsId())
|
||||||
|
.append("opNum", getOpNum())
|
||||||
|
.append("stockNum", getStockNum())
|
||||||
|
.append("opUser", getOpUser())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
139
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppVehicle.java
Normal file
139
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppVehicle.java
Normal file
|
|
@ -0,0 +1,139 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_vehicle
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppVehicle extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
/** 载具类型 */
|
||||||
|
@Excel(name = "载具类型")
|
||||||
|
private String vehicleType;
|
||||||
|
|
||||||
|
/** 载具状态 */
|
||||||
|
@Excel(name = "载具状态")
|
||||||
|
private Long vehicleStatus;
|
||||||
|
|
||||||
|
/** 库位号 */
|
||||||
|
@Excel(name = "库位号")
|
||||||
|
private String locationId;
|
||||||
|
|
||||||
|
/** 是否空载具 */
|
||||||
|
@Excel(name = "是否空载具")
|
||||||
|
private Long isEmpty;
|
||||||
|
|
||||||
|
/** 是否锁定 */
|
||||||
|
@Excel(name = "是否锁定")
|
||||||
|
private Long isLock;
|
||||||
|
|
||||||
|
/** 上次入库时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "上次入库时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date lastInTime;
|
||||||
|
|
||||||
|
/** 上次入库用户 */
|
||||||
|
@Excel(name = "上次入库用户")
|
||||||
|
private String lastInUser;
|
||||||
|
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
public void setVehicleType(String vehicleType)
|
||||||
|
{
|
||||||
|
this.vehicleType = vehicleType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleType()
|
||||||
|
{
|
||||||
|
return vehicleType;
|
||||||
|
}
|
||||||
|
public void setVehicleStatus(Long vehicleStatus)
|
||||||
|
{
|
||||||
|
this.vehicleStatus = vehicleStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getVehicleStatus()
|
||||||
|
{
|
||||||
|
return vehicleStatus;
|
||||||
|
}
|
||||||
|
public void setLocationId(String locationId)
|
||||||
|
{
|
||||||
|
this.locationId = locationId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLocationId()
|
||||||
|
{
|
||||||
|
return locationId;
|
||||||
|
}
|
||||||
|
public void setIsEmpty(Long isEmpty)
|
||||||
|
{
|
||||||
|
this.isEmpty = isEmpty;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getIsEmpty()
|
||||||
|
{
|
||||||
|
return isEmpty;
|
||||||
|
}
|
||||||
|
public void setIsLock(Long isLock)
|
||||||
|
{
|
||||||
|
this.isLock = isLock;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getIsLock()
|
||||||
|
{
|
||||||
|
return isLock;
|
||||||
|
}
|
||||||
|
public void setLastInTime(Date lastInTime)
|
||||||
|
{
|
||||||
|
this.lastInTime = lastInTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getLastInTime()
|
||||||
|
{
|
||||||
|
return lastInTime;
|
||||||
|
}
|
||||||
|
public void setLastInUser(String lastInUser)
|
||||||
|
{
|
||||||
|
this.lastInUser = lastInUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLastInUser()
|
||||||
|
{
|
||||||
|
return lastInUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("vehicleType", getVehicleType())
|
||||||
|
.append("vehicleStatus", getVehicleStatus())
|
||||||
|
.append("locationId", getLocationId())
|
||||||
|
.append("isEmpty", getIsEmpty())
|
||||||
|
.append("isLock", getIsLock())
|
||||||
|
.append("lastInTime", getLastInTime())
|
||||||
|
.append("lastInUser", getLastInUser())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
108
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppWave.java
Normal file
108
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppWave.java
Normal file
|
|
@ -0,0 +1,108 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_wave
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public class AppWave extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 波次单号 */
|
||||||
|
private String waveId;
|
||||||
|
|
||||||
|
/** 出库规则 */
|
||||||
|
@Excel(name = "出库规则")
|
||||||
|
private Long outRule;
|
||||||
|
|
||||||
|
/** 是否插队 */
|
||||||
|
@Excel(name = "是否插队")
|
||||||
|
private Long isChad;
|
||||||
|
|
||||||
|
/** 状态 */
|
||||||
|
@Excel(name = "状态")
|
||||||
|
private Long waveStatus;
|
||||||
|
|
||||||
|
/** 订单WBS */
|
||||||
|
@Excel(name = "订单WBS")
|
||||||
|
private String orderWbs;
|
||||||
|
|
||||||
|
/** 出库口 */
|
||||||
|
@Excel(name = "出库口")
|
||||||
|
private String waveDestination;
|
||||||
|
|
||||||
|
public void setWaveId(String waveId)
|
||||||
|
{
|
||||||
|
this.waveId = waveId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWaveId()
|
||||||
|
{
|
||||||
|
return waveId;
|
||||||
|
}
|
||||||
|
public void setOutRule(Long outRule)
|
||||||
|
{
|
||||||
|
this.outRule = outRule;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getOutRule()
|
||||||
|
{
|
||||||
|
return outRule;
|
||||||
|
}
|
||||||
|
public void setIsChad(Long isChad)
|
||||||
|
{
|
||||||
|
this.isChad = isChad;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getIsChad()
|
||||||
|
{
|
||||||
|
return isChad;
|
||||||
|
}
|
||||||
|
public void setWaveStatus(Long waveStatus)
|
||||||
|
{
|
||||||
|
this.waveStatus = waveStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getWaveStatus()
|
||||||
|
{
|
||||||
|
return waveStatus;
|
||||||
|
}
|
||||||
|
public void setOrderWbs(String orderWbs)
|
||||||
|
{
|
||||||
|
this.orderWbs = orderWbs;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrderWbs()
|
||||||
|
{
|
||||||
|
return orderWbs;
|
||||||
|
}
|
||||||
|
public void setWaveDestination(String waveDestination)
|
||||||
|
{
|
||||||
|
this.waveDestination = waveDestination;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWaveDestination()
|
||||||
|
{
|
||||||
|
return waveDestination;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("waveId", getWaveId())
|
||||||
|
.append("outRule", getOutRule())
|
||||||
|
.append("isChad", getIsChad())
|
||||||
|
.append("waveStatus", getWaveStatus())
|
||||||
|
.append("orderWbs", getOrderWbs())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.append("waveDestination", getWaveDestination())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
155
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppWcsTask.java
Normal file
155
ruoyi-system/src/main/java/com/ruoyi/app/domain/AppWcsTask.java
Normal file
|
|
@ -0,0 +1,155 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_wcs_task
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppWcsTask extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** wcs任务号 */
|
||||||
|
private String wcsTaskId;
|
||||||
|
|
||||||
|
/** wcs任务状态 */
|
||||||
|
@Excel(name = "wcs任务状态")
|
||||||
|
private Long wcsTaskStatus;
|
||||||
|
|
||||||
|
/** 任务类型 */
|
||||||
|
@Excel(name = "任务类型")
|
||||||
|
private Long wcsTaskType;
|
||||||
|
|
||||||
|
/** 任务优先级 */
|
||||||
|
@Excel(name = "任务优先级")
|
||||||
|
private Long taskPriority;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
@Excel(name = "载具号")
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
/** 起点 */
|
||||||
|
@Excel(name = "起点")
|
||||||
|
private String origin;
|
||||||
|
|
||||||
|
/** 终点 */
|
||||||
|
@Excel(name = "终点")
|
||||||
|
private String destination;
|
||||||
|
|
||||||
|
/** 下发时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "下发时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date sendTime;
|
||||||
|
|
||||||
|
/** 完成时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date finishTime;
|
||||||
|
|
||||||
|
public void setWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
this.wcsTaskId = wcsTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWcsTaskId()
|
||||||
|
{
|
||||||
|
return wcsTaskId;
|
||||||
|
}
|
||||||
|
public void setWcsTaskStatus(Long wcsTaskStatus)
|
||||||
|
{
|
||||||
|
this.wcsTaskStatus = wcsTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getWcsTaskStatus()
|
||||||
|
{
|
||||||
|
return wcsTaskStatus;
|
||||||
|
}
|
||||||
|
public void setWcsTaskType(Long wcsTaskType)
|
||||||
|
{
|
||||||
|
this.wcsTaskType = wcsTaskType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getWcsTaskType()
|
||||||
|
{
|
||||||
|
return wcsTaskType;
|
||||||
|
}
|
||||||
|
public void setTaskPriority(Long taskPriority)
|
||||||
|
{
|
||||||
|
this.taskPriority = taskPriority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskPriority()
|
||||||
|
{
|
||||||
|
return taskPriority;
|
||||||
|
}
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
public void setOrigin(String origin)
|
||||||
|
{
|
||||||
|
this.origin = origin;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrigin()
|
||||||
|
{
|
||||||
|
return origin;
|
||||||
|
}
|
||||||
|
public void setDestination(String destination)
|
||||||
|
{
|
||||||
|
this.destination = destination;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDestination()
|
||||||
|
{
|
||||||
|
return destination;
|
||||||
|
}
|
||||||
|
public void setSendTime(Date sendTime)
|
||||||
|
{
|
||||||
|
this.sendTime = sendTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getSendTime()
|
||||||
|
{
|
||||||
|
return sendTime;
|
||||||
|
}
|
||||||
|
public void setFinishTime(Date finishTime)
|
||||||
|
{
|
||||||
|
this.finishTime = finishTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getFinishTime()
|
||||||
|
{
|
||||||
|
return finishTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("wcsTaskId", getWcsTaskId())
|
||||||
|
.append("wcsTaskStatus", getWcsTaskStatus())
|
||||||
|
.append("wcsTaskType", getWcsTaskType())
|
||||||
|
.append("taskPriority", getTaskPriority())
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("origin", getOrigin())
|
||||||
|
.append("destination", getDestination())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("sendTime", getSendTime())
|
||||||
|
.append("finishTime", getFinishTime())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,155 @@
|
||||||
|
package com.ruoyi.app.domain;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】对象 app_wcs_task_bak
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public class AppWcsTaskBak extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** wcs任务号 */
|
||||||
|
private String wcsTaskId;
|
||||||
|
|
||||||
|
/** wcs任务状态 */
|
||||||
|
@Excel(name = "wcs任务状态")
|
||||||
|
private Long wcsTaskStatus;
|
||||||
|
|
||||||
|
/** 任务类型 */
|
||||||
|
@Excel(name = "任务类型")
|
||||||
|
private Long wcsTaskType;
|
||||||
|
|
||||||
|
/** 任务优先级 */
|
||||||
|
@Excel(name = "任务优先级")
|
||||||
|
private Long taskPriority;
|
||||||
|
|
||||||
|
/** 载具号 */
|
||||||
|
@Excel(name = "载具号")
|
||||||
|
private String vehicleId;
|
||||||
|
|
||||||
|
/** 起点 */
|
||||||
|
@Excel(name = "起点")
|
||||||
|
private String origin;
|
||||||
|
|
||||||
|
/** 终点 */
|
||||||
|
@Excel(name = "终点")
|
||||||
|
private String destination;
|
||||||
|
|
||||||
|
/** 下发时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "下发时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date sendTime;
|
||||||
|
|
||||||
|
/** 完成时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date finishTime;
|
||||||
|
|
||||||
|
public void setWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
this.wcsTaskId = wcsTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWcsTaskId()
|
||||||
|
{
|
||||||
|
return wcsTaskId;
|
||||||
|
}
|
||||||
|
public void setWcsTaskStatus(Long wcsTaskStatus)
|
||||||
|
{
|
||||||
|
this.wcsTaskStatus = wcsTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getWcsTaskStatus()
|
||||||
|
{
|
||||||
|
return wcsTaskStatus;
|
||||||
|
}
|
||||||
|
public void setWcsTaskType(Long wcsTaskType)
|
||||||
|
{
|
||||||
|
this.wcsTaskType = wcsTaskType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getWcsTaskType()
|
||||||
|
{
|
||||||
|
return wcsTaskType;
|
||||||
|
}
|
||||||
|
public void setTaskPriority(Long taskPriority)
|
||||||
|
{
|
||||||
|
this.taskPriority = taskPriority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getTaskPriority()
|
||||||
|
{
|
||||||
|
return taskPriority;
|
||||||
|
}
|
||||||
|
public void setVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
this.vehicleId = vehicleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVehicleId()
|
||||||
|
{
|
||||||
|
return vehicleId;
|
||||||
|
}
|
||||||
|
public void setOrigin(String origin)
|
||||||
|
{
|
||||||
|
this.origin = origin;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrigin()
|
||||||
|
{
|
||||||
|
return origin;
|
||||||
|
}
|
||||||
|
public void setDestination(String destination)
|
||||||
|
{
|
||||||
|
this.destination = destination;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDestination()
|
||||||
|
{
|
||||||
|
return destination;
|
||||||
|
}
|
||||||
|
public void setSendTime(Date sendTime)
|
||||||
|
{
|
||||||
|
this.sendTime = sendTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getSendTime()
|
||||||
|
{
|
||||||
|
return sendTime;
|
||||||
|
}
|
||||||
|
public void setFinishTime(Date finishTime)
|
||||||
|
{
|
||||||
|
this.finishTime = finishTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getFinishTime()
|
||||||
|
{
|
||||||
|
return finishTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("wcsTaskId", getWcsTaskId())
|
||||||
|
.append("wcsTaskStatus", getWcsTaskStatus())
|
||||||
|
.append("wcsTaskType", getWcsTaskType())
|
||||||
|
.append("taskPriority", getTaskPriority())
|
||||||
|
.append("vehicleId", getVehicleId())
|
||||||
|
.append("origin", getOrigin())
|
||||||
|
.append("destination", getDestination())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("sendTime", getSendTime())
|
||||||
|
.append("finishTime", getFinishTime())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoods;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppGoodsMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppGoods selectAppGoodsByGoodsId(String goodsId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppGoods> selectAppGoodsList(AppGoods appGoods);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppGoods(AppGoods appGoods);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppGoods(AppGoods appGoods);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsByGoodsId(String goodsId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsByGoodsIds(String[] goodsIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoodsPair;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppGoodsPairMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppGoodsPair selectAppGoodsPairByPairId(String pairId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppGoodsPair> selectAppGoodsPairList(AppGoodsPair appGoodsPair);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppGoodsPair(AppGoodsPair appGoodsPair);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppGoodsPair(AppGoodsPair appGoodsPair);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsPairByPairId(String pairId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsPairByPairIds(String[] pairIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLedConfig;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppLedConfigMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppLedConfig selectAppLedConfigByLedId(String ledId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppLedConfig> selectAppLedConfigList(AppLedConfig appLedConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppLedConfig(AppLedConfig appLedConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppLedConfig(AppLedConfig appLedConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLedConfigByLedId(String ledId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLedConfigByLedIds(String[] ledIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLocation;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppLocationMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppLocation selectAppLocationByLocationId(String locationId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppLocation> selectAppLocationList(AppLocation appLocation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppLocation(AppLocation appLocation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppLocation(AppLocation appLocation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLocationByLocationId(String locationId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLocationByLocationIds(String[] locationIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderIn;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppPmsOrderInMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppPmsOrderIn selectAppPmsOrderInByListId(String listId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppPmsOrderIn> selectAppPmsOrderInList(AppPmsOrderIn appPmsOrderIn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppPmsOrderIn(AppPmsOrderIn appPmsOrderIn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppPmsOrderIn(AppPmsOrderIn appPmsOrderIn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderInByListId(String listId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderInByListIds(String[] listIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderOut;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppPmsOrderOutMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppPmsOrderOut selectAppPmsOrderOutByListId(String listId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppPmsOrderOut> selectAppPmsOrderOutList(AppPmsOrderOut appPmsOrderOut);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppPmsOrderOut(AppPmsOrderOut appPmsOrderOut);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppPmsOrderOut(AppPmsOrderOut appPmsOrderOut);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderOutByListId(String listId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderOutByListIds(String[] listIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppProvider;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppProviderMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppProvider selectAppProviderByProviderId(String providerId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppProvider> selectAppProviderList(AppProvider appProvider);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppProvider(AppProvider appProvider);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppProvider(AppProvider appProvider);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppProviderByProviderId(String providerId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppProviderByProviderIds(String[] providerIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStand;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppStandMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppStand selectAppStandByStandId(String standId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppStand> selectAppStandList(AppStand appStand);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppStand(AppStand appStand);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppStand(AppStand appStand);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStandByStandId(String standId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStandByStandIds(String[] standIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStock;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppStockMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppStock selectAppStockByStockId(String stockId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppStock> selectAppStockList(AppStock appStock);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppStock(AppStock appStock);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppStock(AppStock appStock);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStockByStockId(String stockId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStockByStockIds(String[] stockIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTaskBak;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppTaskBakMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppTaskBak selectAppTaskBakByTaskId(String taskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppTaskBak> selectAppTaskBakList(AppTaskBak appTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppTaskBak(AppTaskBak appTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppTaskBak(AppTaskBak appTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskBakByTaskId(String taskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskBakByTaskIds(String[] taskIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTask;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppTaskMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppTask selectAppTaskByTaskId(String taskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppTask> selectAppTaskList(AppTask appTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppTask(AppTask appTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppTask(AppTask appTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskByTaskId(String taskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskByTaskIds(String[] taskIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppVehicle;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppVehicleMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppVehicle selectAppVehicleByVehicleId(String vehicleId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppVehicle> selectAppVehicleList(AppVehicle appVehicle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppVehicle(AppVehicle appVehicle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppVehicle(AppVehicle appVehicle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppVehicleByVehicleId(String vehicleId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppVehicleByVehicleIds(String[] vehicleIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWave;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface AppWaveMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppWave selectAppWaveByWaveId(String waveId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppWave> selectAppWaveList(AppWave appWave);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppWave(AppWave appWave);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppWave(AppWave appWave);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWaveByWaveId(String waveId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWaveByWaveIds(String[] waveIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTaskBak;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppWcsTaskBakMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppWcsTaskBak selectAppWcsTaskBakByWcsTaskId(String wcsTaskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppWcsTaskBak> selectAppWcsTaskBakList(AppWcsTaskBak appWcsTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppWcsTaskBak(AppWcsTaskBak appWcsTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppWcsTaskBak(AppWcsTaskBak appWcsTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskBakByWcsTaskId(String wcsTaskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskBakByWcsTaskIds(String[] wcsTaskIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTask;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface AppWcsTaskMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppWcsTask selectAppWcsTaskByWcsTaskId(String wcsTaskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppWcsTask> selectAppWcsTaskList(AppWcsTask appWcsTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppWcsTask(AppWcsTask appWcsTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppWcsTask(AppWcsTask appWcsTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskByWcsTaskId(String wcsTaskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskByWcsTaskIds(String[] wcsTaskIds);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoodsPair;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppGoodsPairService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppGoodsPair selectAppGoodsPairByPairId(String pairId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppGoodsPair> selectAppGoodsPairList(AppGoodsPair appGoodsPair);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppGoodsPair(AppGoodsPair appGoodsPair);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppGoodsPair(AppGoodsPair appGoodsPair);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsPairByPairIds(String[] pairIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param pairId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsPairByPairId(String pairId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoods;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppGoodsService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppGoods selectAppGoodsByGoodsId(String goodsId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppGoods> selectAppGoodsList(AppGoods appGoods);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppGoods(AppGoods appGoods);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppGoods(AppGoods appGoods);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsByGoodsIds(String[] goodsIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param goodsId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppGoodsByGoodsId(String goodsId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLedConfig;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppLedConfigService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppLedConfig selectAppLedConfigByLedId(String ledId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppLedConfig> selectAppLedConfigList(AppLedConfig appLedConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppLedConfig(AppLedConfig appLedConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppLedConfig(AppLedConfig appLedConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLedConfigByLedIds(String[] ledIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param ledId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLedConfigByLedId(String ledId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLocation;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppLocationService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppLocation selectAppLocationByLocationId(String locationId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppLocation> selectAppLocationList(AppLocation appLocation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppLocation(AppLocation appLocation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppLocation(AppLocation appLocation);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLocationByLocationIds(String[] locationIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param locationId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppLocationByLocationId(String locationId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderIn;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppPmsOrderInService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppPmsOrderIn selectAppPmsOrderInByListId(String listId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppPmsOrderIn> selectAppPmsOrderInList(AppPmsOrderIn appPmsOrderIn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppPmsOrderIn(AppPmsOrderIn appPmsOrderIn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppPmsOrderIn(AppPmsOrderIn appPmsOrderIn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderInByListIds(String[] listIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderInByListId(String listId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderOut;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppPmsOrderOutService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppPmsOrderOut selectAppPmsOrderOutByListId(String listId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppPmsOrderOut> selectAppPmsOrderOutList(AppPmsOrderOut appPmsOrderOut);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppPmsOrderOut(AppPmsOrderOut appPmsOrderOut);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppPmsOrderOut(AppPmsOrderOut appPmsOrderOut);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderOutByListIds(String[] listIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppPmsOrderOutByListId(String listId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppProvider;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppProviderService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppProvider selectAppProviderByProviderId(String providerId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppProvider> selectAppProviderList(AppProvider appProvider);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppProvider(AppProvider appProvider);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppProvider(AppProvider appProvider);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppProviderByProviderIds(String[] providerIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param providerId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppProviderByProviderId(String providerId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStand;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppStandService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppStand selectAppStandByStandId(String standId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppStand> selectAppStandList(AppStand appStand);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppStand(AppStand appStand);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppStand(AppStand appStand);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStandByStandIds(String[] standIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param standId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStandByStandId(String standId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStock;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppStockService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppStock selectAppStockByStockId(String stockId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppStock> selectAppStockList(AppStock appStock);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppStock(AppStock appStock);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppStock(AppStock appStock);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStockByStockIds(String[] stockIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param stockId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppStockByStockId(String stockId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTaskBak;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppTaskBakService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppTaskBak selectAppTaskBakByTaskId(String taskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppTaskBak> selectAppTaskBakList(AppTaskBak appTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppTaskBak(AppTaskBak appTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppTaskBak(AppTaskBak appTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskBakByTaskIds(String[] taskIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskBakByTaskId(String taskId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTask;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppTaskService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppTask selectAppTaskByTaskId(String taskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppTask> selectAppTaskList(AppTask appTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppTask(AppTask appTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppTask(AppTask appTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskByTaskIds(String[] taskIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppTaskByTaskId(String taskId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppVehicle;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppVehicleService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppVehicle selectAppVehicleByVehicleId(String vehicleId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppVehicle> selectAppVehicleList(AppVehicle appVehicle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppVehicle(AppVehicle appVehicle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppVehicle(AppVehicle appVehicle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppVehicleByVehicleIds(String[] vehicleIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param vehicleId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppVehicleByVehicleId(String vehicleId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWave;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
public interface IAppWaveService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppWave selectAppWaveByWaveId(String waveId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppWave> selectAppWaveList(AppWave appWave);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppWave(AppWave appWave);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppWave(AppWave appWave);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWaveByWaveIds(String[] waveIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param waveId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWaveByWaveId(String waveId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTaskBak;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppWcsTaskBakService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppWcsTaskBak selectAppWcsTaskBakByWcsTaskId(String wcsTaskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppWcsTaskBak> selectAppWcsTaskBakList(AppWcsTaskBak appWcsTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppWcsTaskBak(AppWcsTaskBak appWcsTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppWcsTaskBak(AppWcsTaskBak appWcsTaskBak);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskBakByWcsTaskIds(String[] wcsTaskIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskBakByWcsTaskId(String wcsTaskId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.app.service;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTask;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
public interface IAppWcsTaskService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
public AppWcsTask selectAppWcsTaskByWcsTaskId(String wcsTaskId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】集合
|
||||||
|
*/
|
||||||
|
public List<AppWcsTask> selectAppWcsTaskList(AppWcsTask appWcsTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertAppWcsTask(AppWcsTask appWcsTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateAppWcsTask(AppWcsTask appWcsTask);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskIds 需要删除的【请填写功能名称】主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskByWcsTaskIds(String[] wcsTaskIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteAppWcsTaskByWcsTaskId(String wcsTaskId);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoodsPair;
|
||||||
|
import com.ruoyi.app.mapper.AppGoodsPairMapper;
|
||||||
|
import com.ruoyi.app.service.IAppGoodsPairService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppGoodsPairServiceImpl implements IAppGoodsPairService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppGoodsPairMapper appGoodsPairMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppGoodsPair selectAppGoodsPairByPairId(String pairId)
|
||||||
|
{
|
||||||
|
return appGoodsPairMapper.selectAppGoodsPairByPairId(pairId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppGoodsPair> selectAppGoodsPairList(AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
return appGoodsPairMapper.selectAppGoodsPairList(appGoodsPair);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppGoodsPair(AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
return appGoodsPairMapper.insertAppGoodsPair(appGoodsPair);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoodsPair 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppGoodsPair(AppGoodsPair appGoodsPair)
|
||||||
|
{
|
||||||
|
return appGoodsPairMapper.updateAppGoodsPair(appGoodsPair);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param pairIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppGoodsPairByPairIds(String[] pairIds)
|
||||||
|
{
|
||||||
|
return appGoodsPairMapper.deleteAppGoodsPairByPairIds(pairIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param pairId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppGoodsPairByPairId(String pairId)
|
||||||
|
{
|
||||||
|
return appGoodsPairMapper.deleteAppGoodsPairByPairId(pairId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppGoods;
|
||||||
|
import com.ruoyi.app.mapper.AppGoodsMapper;
|
||||||
|
import com.ruoyi.app.service.IAppGoodsService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppGoodsServiceImpl implements IAppGoodsService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppGoodsMapper appGoodsMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppGoods selectAppGoodsByGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
return appGoodsMapper.selectAppGoodsByGoodsId(goodsId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppGoods> selectAppGoodsList(AppGoods appGoods)
|
||||||
|
{
|
||||||
|
return appGoodsMapper.selectAppGoodsList(appGoods);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppGoods(AppGoods appGoods)
|
||||||
|
{
|
||||||
|
return appGoodsMapper.insertAppGoods(appGoods);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appGoods 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppGoods(AppGoods appGoods)
|
||||||
|
{
|
||||||
|
return appGoodsMapper.updateAppGoods(appGoods);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param goodsIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppGoodsByGoodsIds(String[] goodsIds)
|
||||||
|
{
|
||||||
|
return appGoodsMapper.deleteAppGoodsByGoodsIds(goodsIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param goodsId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppGoodsByGoodsId(String goodsId)
|
||||||
|
{
|
||||||
|
return appGoodsMapper.deleteAppGoodsByGoodsId(goodsId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLedConfig;
|
||||||
|
import com.ruoyi.app.mapper.AppLedConfigMapper;
|
||||||
|
import com.ruoyi.app.service.IAppLedConfigService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppLedConfigServiceImpl implements IAppLedConfigService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppLedConfigMapper appLedConfigMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppLedConfig selectAppLedConfigByLedId(String ledId)
|
||||||
|
{
|
||||||
|
return appLedConfigMapper.selectAppLedConfigByLedId(ledId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppLedConfig> selectAppLedConfigList(AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
return appLedConfigMapper.selectAppLedConfigList(appLedConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppLedConfig(AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
return appLedConfigMapper.insertAppLedConfig(appLedConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLedConfig 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppLedConfig(AppLedConfig appLedConfig)
|
||||||
|
{
|
||||||
|
return appLedConfigMapper.updateAppLedConfig(appLedConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param ledIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppLedConfigByLedIds(String[] ledIds)
|
||||||
|
{
|
||||||
|
return appLedConfigMapper.deleteAppLedConfigByLedIds(ledIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param ledId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppLedConfigByLedId(String ledId)
|
||||||
|
{
|
||||||
|
return appLedConfigMapper.deleteAppLedConfigByLedId(ledId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppLocation;
|
||||||
|
import com.ruoyi.app.mapper.AppLocationMapper;
|
||||||
|
import com.ruoyi.app.service.IAppLocationService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppLocationServiceImpl implements IAppLocationService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppLocationMapper appLocationMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppLocation selectAppLocationByLocationId(String locationId)
|
||||||
|
{
|
||||||
|
return appLocationMapper.selectAppLocationByLocationId(locationId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppLocation> selectAppLocationList(AppLocation appLocation)
|
||||||
|
{
|
||||||
|
return appLocationMapper.selectAppLocationList(appLocation);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppLocation(AppLocation appLocation)
|
||||||
|
{
|
||||||
|
return appLocationMapper.insertAppLocation(appLocation);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appLocation 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppLocation(AppLocation appLocation)
|
||||||
|
{
|
||||||
|
return appLocationMapper.updateAppLocation(appLocation);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param locationIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppLocationByLocationIds(String[] locationIds)
|
||||||
|
{
|
||||||
|
return appLocationMapper.deleteAppLocationByLocationIds(locationIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param locationId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppLocationByLocationId(String locationId)
|
||||||
|
{
|
||||||
|
return appLocationMapper.deleteAppLocationByLocationId(locationId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderIn;
|
||||||
|
import com.ruoyi.app.mapper.AppPmsOrderInMapper;
|
||||||
|
import com.ruoyi.app.service.IAppPmsOrderInService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppPmsOrderInServiceImpl implements IAppPmsOrderInService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppPmsOrderInMapper appPmsOrderInMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppPmsOrderIn selectAppPmsOrderInByListId(String listId)
|
||||||
|
{
|
||||||
|
return appPmsOrderInMapper.selectAppPmsOrderInByListId(listId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppPmsOrderIn> selectAppPmsOrderInList(AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
return appPmsOrderInMapper.selectAppPmsOrderInList(appPmsOrderIn);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppPmsOrderIn(AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
return appPmsOrderInMapper.insertAppPmsOrderIn(appPmsOrderIn);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderIn 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppPmsOrderIn(AppPmsOrderIn appPmsOrderIn)
|
||||||
|
{
|
||||||
|
return appPmsOrderInMapper.updateAppPmsOrderIn(appPmsOrderIn);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppPmsOrderInByListIds(String[] listIds)
|
||||||
|
{
|
||||||
|
return appPmsOrderInMapper.deleteAppPmsOrderInByListIds(listIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppPmsOrderInByListId(String listId)
|
||||||
|
{
|
||||||
|
return appPmsOrderInMapper.deleteAppPmsOrderInByListId(listId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppPmsOrderOut;
|
||||||
|
import com.ruoyi.app.mapper.AppPmsOrderOutMapper;
|
||||||
|
import com.ruoyi.app.service.IAppPmsOrderOutService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppPmsOrderOutServiceImpl implements IAppPmsOrderOutService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppPmsOrderOutMapper appPmsOrderOutMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppPmsOrderOut selectAppPmsOrderOutByListId(String listId)
|
||||||
|
{
|
||||||
|
return appPmsOrderOutMapper.selectAppPmsOrderOutByListId(listId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppPmsOrderOut> selectAppPmsOrderOutList(AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
return appPmsOrderOutMapper.selectAppPmsOrderOutList(appPmsOrderOut);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppPmsOrderOut(AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
return appPmsOrderOutMapper.insertAppPmsOrderOut(appPmsOrderOut);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appPmsOrderOut 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppPmsOrderOut(AppPmsOrderOut appPmsOrderOut)
|
||||||
|
{
|
||||||
|
return appPmsOrderOutMapper.updateAppPmsOrderOut(appPmsOrderOut);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param listIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppPmsOrderOutByListIds(String[] listIds)
|
||||||
|
{
|
||||||
|
return appPmsOrderOutMapper.deleteAppPmsOrderOutByListIds(listIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param listId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppPmsOrderOutByListId(String listId)
|
||||||
|
{
|
||||||
|
return appPmsOrderOutMapper.deleteAppPmsOrderOutByListId(listId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppProvider;
|
||||||
|
import com.ruoyi.app.mapper.AppProviderMapper;
|
||||||
|
import com.ruoyi.app.service.IAppProviderService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppProviderServiceImpl implements IAppProviderService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppProviderMapper appProviderMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppProvider selectAppProviderByProviderId(String providerId)
|
||||||
|
{
|
||||||
|
return appProviderMapper.selectAppProviderByProviderId(providerId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppProvider> selectAppProviderList(AppProvider appProvider)
|
||||||
|
{
|
||||||
|
return appProviderMapper.selectAppProviderList(appProvider);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppProvider(AppProvider appProvider)
|
||||||
|
{
|
||||||
|
return appProviderMapper.insertAppProvider(appProvider);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appProvider 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppProvider(AppProvider appProvider)
|
||||||
|
{
|
||||||
|
return appProviderMapper.updateAppProvider(appProvider);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param providerIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppProviderByProviderIds(String[] providerIds)
|
||||||
|
{
|
||||||
|
return appProviderMapper.deleteAppProviderByProviderIds(providerIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param providerId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppProviderByProviderId(String providerId)
|
||||||
|
{
|
||||||
|
return appProviderMapper.deleteAppProviderByProviderId(providerId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStand;
|
||||||
|
import com.ruoyi.app.mapper.AppStandMapper;
|
||||||
|
import com.ruoyi.app.service.IAppStandService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppStandServiceImpl implements IAppStandService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppStandMapper appStandMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppStand selectAppStandByStandId(String standId)
|
||||||
|
{
|
||||||
|
return appStandMapper.selectAppStandByStandId(standId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppStand> selectAppStandList(AppStand appStand)
|
||||||
|
{
|
||||||
|
return appStandMapper.selectAppStandList(appStand);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppStand(AppStand appStand)
|
||||||
|
{
|
||||||
|
return appStandMapper.insertAppStand(appStand);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStand 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppStand(AppStand appStand)
|
||||||
|
{
|
||||||
|
return appStandMapper.updateAppStand(appStand);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param standIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppStandByStandIds(String[] standIds)
|
||||||
|
{
|
||||||
|
return appStandMapper.deleteAppStandByStandIds(standIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param standId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppStandByStandId(String standId)
|
||||||
|
{
|
||||||
|
return appStandMapper.deleteAppStandByStandId(standId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppStock;
|
||||||
|
import com.ruoyi.app.mapper.AppStockMapper;
|
||||||
|
import com.ruoyi.app.service.IAppStockService;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppStockServiceImpl implements IAppStockService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppStockMapper appStockMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppStock selectAppStockByStockId(String stockId)
|
||||||
|
{
|
||||||
|
return appStockMapper.selectAppStockByStockId(stockId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppStock> selectAppStockList(AppStock appStock)
|
||||||
|
{
|
||||||
|
return appStockMapper.selectAppStockList(appStock);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppStock(AppStock appStock)
|
||||||
|
{
|
||||||
|
appStock.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return appStockMapper.insertAppStock(appStock);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appStock 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppStock(AppStock appStock)
|
||||||
|
{
|
||||||
|
return appStockMapper.updateAppStock(appStock);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param stockIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppStockByStockIds(String[] stockIds)
|
||||||
|
{
|
||||||
|
return appStockMapper.deleteAppStockByStockIds(stockIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param stockId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppStockByStockId(String stockId)
|
||||||
|
{
|
||||||
|
return appStockMapper.deleteAppStockByStockId(stockId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTaskBak;
|
||||||
|
import com.ruoyi.app.mapper.AppTaskBakMapper;
|
||||||
|
import com.ruoyi.app.service.IAppTaskBakService;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppTaskBakServiceImpl implements IAppTaskBakService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppTaskBakMapper appTaskBakMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppTaskBak selectAppTaskBakByTaskId(String taskId)
|
||||||
|
{
|
||||||
|
return appTaskBakMapper.selectAppTaskBakByTaskId(taskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppTaskBak> selectAppTaskBakList(AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
return appTaskBakMapper.selectAppTaskBakList(appTaskBak);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppTaskBak(AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
appTaskBak.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return appTaskBakMapper.insertAppTaskBak(appTaskBak);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppTaskBak(AppTaskBak appTaskBak)
|
||||||
|
{
|
||||||
|
return appTaskBakMapper.updateAppTaskBak(appTaskBak);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppTaskBakByTaskIds(String[] taskIds)
|
||||||
|
{
|
||||||
|
return appTaskBakMapper.deleteAppTaskBakByTaskIds(taskIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppTaskBakByTaskId(String taskId)
|
||||||
|
{
|
||||||
|
return appTaskBakMapper.deleteAppTaskBakByTaskId(taskId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppTask;
|
||||||
|
import com.ruoyi.app.mapper.AppTaskMapper;
|
||||||
|
import com.ruoyi.app.service.IAppTaskService;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppTaskServiceImpl implements IAppTaskService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppTaskMapper appTaskMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppTask selectAppTaskByTaskId(String taskId)
|
||||||
|
{
|
||||||
|
return appTaskMapper.selectAppTaskByTaskId(taskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppTask> selectAppTaskList(AppTask appTask)
|
||||||
|
{
|
||||||
|
return appTaskMapper.selectAppTaskList(appTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppTask(AppTask appTask)
|
||||||
|
{
|
||||||
|
appTask.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return appTaskMapper.insertAppTask(appTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppTask(AppTask appTask)
|
||||||
|
{
|
||||||
|
return appTaskMapper.updateAppTask(appTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param taskIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppTaskByTaskIds(String[] taskIds)
|
||||||
|
{
|
||||||
|
return appTaskMapper.deleteAppTaskByTaskIds(taskIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param taskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppTaskByTaskId(String taskId)
|
||||||
|
{
|
||||||
|
return appTaskMapper.deleteAppTaskByTaskId(taskId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppVehicle;
|
||||||
|
import com.ruoyi.app.mapper.AppVehicleMapper;
|
||||||
|
import com.ruoyi.app.service.IAppVehicleService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppVehicleServiceImpl implements IAppVehicleService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppVehicleMapper appVehicleMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppVehicle selectAppVehicleByVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
return appVehicleMapper.selectAppVehicleByVehicleId(vehicleId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppVehicle> selectAppVehicleList(AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
return appVehicleMapper.selectAppVehicleList(appVehicle);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppVehicle(AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
return appVehicleMapper.insertAppVehicle(appVehicle);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appVehicle 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppVehicle(AppVehicle appVehicle)
|
||||||
|
{
|
||||||
|
return appVehicleMapper.updateAppVehicle(appVehicle);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param vehicleIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppVehicleByVehicleIds(String[] vehicleIds)
|
||||||
|
{
|
||||||
|
return appVehicleMapper.deleteAppVehicleByVehicleIds(vehicleIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param vehicleId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppVehicleByVehicleId(String vehicleId)
|
||||||
|
{
|
||||||
|
return appVehicleMapper.deleteAppVehicleByVehicleId(vehicleId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWave;
|
||||||
|
import com.ruoyi.app.mapper.AppWaveMapper;
|
||||||
|
import com.ruoyi.app.service.IAppWaveService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppWaveServiceImpl implements IAppWaveService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppWaveMapper appWaveMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppWave selectAppWaveByWaveId(String waveId)
|
||||||
|
{
|
||||||
|
return appWaveMapper.selectAppWaveByWaveId(waveId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppWave> selectAppWaveList(AppWave appWave)
|
||||||
|
{
|
||||||
|
return appWaveMapper.selectAppWaveList(appWave);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppWave(AppWave appWave)
|
||||||
|
{
|
||||||
|
return appWaveMapper.insertAppWave(appWave);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWave 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppWave(AppWave appWave)
|
||||||
|
{
|
||||||
|
return appWaveMapper.updateAppWave(appWave);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param waveIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppWaveByWaveIds(String[] waveIds)
|
||||||
|
{
|
||||||
|
return appWaveMapper.deleteAppWaveByWaveIds(waveIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param waveId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppWaveByWaveId(String waveId)
|
||||||
|
{
|
||||||
|
return appWaveMapper.deleteAppWaveByWaveId(waveId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTaskBak;
|
||||||
|
import com.ruoyi.app.mapper.AppWcsTaskBakMapper;
|
||||||
|
import com.ruoyi.app.service.IAppWcsTaskBakService;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppWcsTaskBakServiceImpl implements IAppWcsTaskBakService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppWcsTaskBakMapper appWcsTaskBakMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppWcsTaskBak selectAppWcsTaskBakByWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
return appWcsTaskBakMapper.selectAppWcsTaskBakByWcsTaskId(wcsTaskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppWcsTaskBak> selectAppWcsTaskBakList(AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
return appWcsTaskBakMapper.selectAppWcsTaskBakList(appWcsTaskBak);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppWcsTaskBak(AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
appWcsTaskBak.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return appWcsTaskBakMapper.insertAppWcsTaskBak(appWcsTaskBak);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTaskBak 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppWcsTaskBak(AppWcsTaskBak appWcsTaskBak)
|
||||||
|
{
|
||||||
|
return appWcsTaskBakMapper.updateAppWcsTaskBak(appWcsTaskBak);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppWcsTaskBakByWcsTaskIds(String[] wcsTaskIds)
|
||||||
|
{
|
||||||
|
return appWcsTaskBakMapper.deleteAppWcsTaskBakByWcsTaskIds(wcsTaskIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppWcsTaskBakByWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
return appWcsTaskBakMapper.deleteAppWcsTaskBakByWcsTaskId(wcsTaskId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
package com.ruoyi.app.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.app.domain.AppWcsTask;
|
||||||
|
import com.ruoyi.app.mapper.AppWcsTaskMapper;
|
||||||
|
import com.ruoyi.app.service.IAppWcsTaskService;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 【请填写功能名称】Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-01-15
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppWcsTaskServiceImpl implements IAppWcsTaskService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private AppWcsTaskMapper appWcsTaskMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppWcsTask selectAppWcsTaskByWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
return appWcsTaskMapper.selectAppWcsTaskByWcsTaskId(wcsTaskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询【请填写功能名称】列表
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 【请填写功能名称】
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppWcsTask> selectAppWcsTaskList(AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
return appWcsTaskMapper.selectAppWcsTaskList(appWcsTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertAppWcsTask(AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
appWcsTask.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return appWcsTaskMapper.insertAppWcsTask(appWcsTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param appWcsTask 【请填写功能名称】
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateAppWcsTask(AppWcsTask appWcsTask)
|
||||||
|
{
|
||||||
|
return appWcsTaskMapper.updateAppWcsTask(appWcsTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除【请填写功能名称】
|
||||||
|
*
|
||||||
|
* @param wcsTaskIds 需要删除的【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppWcsTaskByWcsTaskIds(String[] wcsTaskIds)
|
||||||
|
{
|
||||||
|
return appWcsTaskMapper.deleteAppWcsTaskByWcsTaskIds(wcsTaskIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除【请填写功能名称】信息
|
||||||
|
*
|
||||||
|
* @param wcsTaskId 【请填写功能名称】主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteAppWcsTaskByWcsTaskId(String wcsTaskId)
|
||||||
|
{
|
||||||
|
return appWcsTaskMapper.deleteAppWcsTaskByWcsTaskId(wcsTaskId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,92 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppGoodsMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppGoods" id="AppGoodsResult">
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
<result property="goodsName" column="goods_name" />
|
||||||
|
<result property="goodsUnit" column="goods_unit" />
|
||||||
|
<result property="goodsType" column="goods_type" />
|
||||||
|
<result property="normalVehicleType" column="normal_vehicle_type" />
|
||||||
|
<result property="goodsStatus" column="goods_status" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
<result property="lastUpdateUser" column="last_update_user" />
|
||||||
|
<result property="lastUpdateTime" column="last_update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppGoodsVo">
|
||||||
|
select goods_id, goods_name, goods_unit, goods_type, normal_vehicle_type, goods_status, remark, last_update_user, last_update_time from app_goods
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppGoodsList" parameterType="AppGoods" resultMap="AppGoodsResult">
|
||||||
|
<include refid="selectAppGoodsVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="goodsName != null and goodsName != ''"> and goods_name like concat('%', #{goodsName}, '%')</if>
|
||||||
|
<if test="goodsUnit != null and goodsUnit != ''"> and goods_unit = #{goodsUnit}</if>
|
||||||
|
<if test="goodsType != null and goodsType != ''"> and goods_type = #{goodsType}</if>
|
||||||
|
<if test="normalVehicleType != null and normalVehicleType != ''"> and normal_vehicle_type = #{normalVehicleType}</if>
|
||||||
|
<if test="goodsStatus != null "> and goods_status = #{goodsStatus}</if>
|
||||||
|
<if test="lastUpdateUser != null and lastUpdateUser != ''"> and last_update_user = #{lastUpdateUser}</if>
|
||||||
|
<if test="lastUpdateTime != null "> and last_update_time = #{lastUpdateTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppGoodsByGoodsId" parameterType="String" resultMap="AppGoodsResult">
|
||||||
|
<include refid="selectAppGoodsVo"/>
|
||||||
|
where goods_id = #{goodsId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppGoods" parameterType="AppGoods">
|
||||||
|
insert into app_goods
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="goodsId != null">goods_id,</if>
|
||||||
|
<if test="goodsName != null">goods_name,</if>
|
||||||
|
<if test="goodsUnit != null and goodsUnit != ''">goods_unit,</if>
|
||||||
|
<if test="goodsType != null">goods_type,</if>
|
||||||
|
<if test="normalVehicleType != null">normal_vehicle_type,</if>
|
||||||
|
<if test="goodsStatus != null">goods_status,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
<if test="lastUpdateUser != null">last_update_user,</if>
|
||||||
|
<if test="lastUpdateTime != null">last_update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="goodsId != null">#{goodsId},</if>
|
||||||
|
<if test="goodsName != null">#{goodsName},</if>
|
||||||
|
<if test="goodsUnit != null and goodsUnit != ''">#{goodsUnit},</if>
|
||||||
|
<if test="goodsType != null">#{goodsType},</if>
|
||||||
|
<if test="normalVehicleType != null">#{normalVehicleType},</if>
|
||||||
|
<if test="goodsStatus != null">#{goodsStatus},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
<if test="lastUpdateUser != null">#{lastUpdateUser},</if>
|
||||||
|
<if test="lastUpdateTime != null">#{lastUpdateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppGoods" parameterType="AppGoods">
|
||||||
|
update app_goods
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="goodsName != null">goods_name = #{goodsName},</if>
|
||||||
|
<if test="goodsUnit != null and goodsUnit != ''">goods_unit = #{goodsUnit},</if>
|
||||||
|
<if test="goodsType != null">goods_type = #{goodsType},</if>
|
||||||
|
<if test="normalVehicleType != null">normal_vehicle_type = #{normalVehicleType},</if>
|
||||||
|
<if test="goodsStatus != null">goods_status = #{goodsStatus},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
<if test="lastUpdateUser != null">last_update_user = #{lastUpdateUser},</if>
|
||||||
|
<if test="lastUpdateTime != null">last_update_time = #{lastUpdateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where goods_id = #{goodsId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppGoodsByGoodsId" parameterType="String">
|
||||||
|
delete from app_goods where goods_id = #{goodsId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppGoodsByGoodsIds" parameterType="String">
|
||||||
|
delete from app_goods where goods_id in
|
||||||
|
<foreach item="goodsId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{goodsId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,58 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppGoodsPairMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppGoodsPair" id="AppGoodsPairResult">
|
||||||
|
<result property="pairId" column="pair_id" />
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppGoodsPairVo">
|
||||||
|
select pair_id, goods_id from app_goods_pair
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppGoodsPairList" parameterType="AppGoodsPair" resultMap="AppGoodsPairResult">
|
||||||
|
<include refid="selectAppGoodsPairVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppGoodsPairByPairId" parameterType="String" resultMap="AppGoodsPairResult">
|
||||||
|
<include refid="selectAppGoodsPairVo"/>
|
||||||
|
where pair_id = #{pairId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppGoodsPair" parameterType="AppGoodsPair">
|
||||||
|
insert into app_goods_pair
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="pairId != null">pair_id,</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="pairId != null">#{pairId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">#{goodsId},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppGoodsPair" parameterType="AppGoodsPair">
|
||||||
|
update app_goods_pair
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id = #{goodsId},</if>
|
||||||
|
</trim>
|
||||||
|
where pair_id = #{pairId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppGoodsPairByPairId" parameterType="String">
|
||||||
|
delete from app_goods_pair where pair_id = #{pairId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppGoodsPairByPairIds" parameterType="String">
|
||||||
|
delete from app_goods_pair where pair_id in
|
||||||
|
<foreach item="pairId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{pairId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,53 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppLedConfigMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppLedConfig" id="AppLedConfigResult">
|
||||||
|
<result property="ledId" column="led_id" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppLedConfigVo">
|
||||||
|
select led_id from app_led_config
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppLedConfigList" parameterType="AppLedConfig" resultMap="AppLedConfigResult">
|
||||||
|
<include refid="selectAppLedConfigVo"/>
|
||||||
|
<where>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppLedConfigByLedId" parameterType="String" resultMap="AppLedConfigResult">
|
||||||
|
<include refid="selectAppLedConfigVo"/>
|
||||||
|
where led_id = #{ledId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppLedConfig" parameterType="AppLedConfig">
|
||||||
|
insert into app_led_config
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="ledId != null">led_id,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="ledId != null">#{ledId},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppLedConfig" parameterType="AppLedConfig">
|
||||||
|
update app_led_config
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
</trim>
|
||||||
|
where led_id = #{ledId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppLedConfigByLedId" parameterType="String">
|
||||||
|
delete from app_led_config where led_id = #{ledId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppLedConfigByLedIds" parameterType="String">
|
||||||
|
delete from app_led_config where led_id in
|
||||||
|
<foreach item="ledId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{ledId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
117
ruoyi-system/src/main/resources/mapper/app/AppLocationMapper.xml
Normal file
117
ruoyi-system/src/main/resources/mapper/app/AppLocationMapper.xml
Normal file
|
|
@ -0,0 +1,117 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppLocationMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppLocation" id="AppLocationResult">
|
||||||
|
<result property="locationId" column="location_id" />
|
||||||
|
<result property="locationType" column="location_type" />
|
||||||
|
<result property="locationStatus" column="location_status" />
|
||||||
|
<result property="outerId" column="outer_id" />
|
||||||
|
<result property="areaId" column="area_id" />
|
||||||
|
<result property="tunnelId" column="tunnel_id" />
|
||||||
|
<result property="equipmentId" column="equipment_id" />
|
||||||
|
<result property="wRow" column="w_row" />
|
||||||
|
<result property="wCol" column="w_col" />
|
||||||
|
<result property="wLayer" column="w_layer" />
|
||||||
|
<result property="wDepth" column="w_depth" />
|
||||||
|
<result property="isLock" column="is_lock" />
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppLocationVo">
|
||||||
|
select location_id, location_type, location_status, outer_id, area_id, tunnel_id, equipment_id, w_row, w_col, w_layer, w_depth, is_lock, vehicle_id, remark from app_location
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppLocationList" parameterType="AppLocation" resultMap="AppLocationResult">
|
||||||
|
<include refid="selectAppLocationVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="locationType != null "> and location_type = #{locationType}</if>
|
||||||
|
<if test="locationStatus != null "> and location_status = #{locationStatus}</if>
|
||||||
|
<if test="outerId != null and outerId != ''"> and outer_id = #{outerId}</if>
|
||||||
|
<if test="areaId != null "> and area_id = #{areaId}</if>
|
||||||
|
<if test="tunnelId != null "> and tunnel_id = #{tunnelId}</if>
|
||||||
|
<if test="equipmentId != null "> and equipment_id = #{equipmentId}</if>
|
||||||
|
<if test="wRow != null "> and w_row = #{wRow}</if>
|
||||||
|
<if test="wCol != null "> and w_col = #{wCol}</if>
|
||||||
|
<if test="wLayer != null "> and w_layer = #{wLayer}</if>
|
||||||
|
<if test="wDepth != null "> and w_depth = #{wDepth}</if>
|
||||||
|
<if test="isLock != null "> and is_lock = #{isLock}</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''"> and vehicle_id = #{vehicleId}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppLocationByLocationId" parameterType="String" resultMap="AppLocationResult">
|
||||||
|
<include refid="selectAppLocationVo"/>
|
||||||
|
where location_id = #{locationId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppLocation" parameterType="AppLocation">
|
||||||
|
insert into app_location
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="locationId != null">location_id,</if>
|
||||||
|
<if test="locationType != null">location_type,</if>
|
||||||
|
<if test="locationStatus != null">location_status,</if>
|
||||||
|
<if test="outerId != null">outer_id,</if>
|
||||||
|
<if test="areaId != null">area_id,</if>
|
||||||
|
<if test="tunnelId != null">tunnel_id,</if>
|
||||||
|
<if test="equipmentId != null">equipment_id,</if>
|
||||||
|
<if test="wRow != null">w_row,</if>
|
||||||
|
<if test="wCol != null">w_col,</if>
|
||||||
|
<if test="wLayer != null">w_layer,</if>
|
||||||
|
<if test="wDepth != null">w_depth,</if>
|
||||||
|
<if test="isLock != null">is_lock,</if>
|
||||||
|
<if test="vehicleId != null">vehicle_id,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="locationId != null">#{locationId},</if>
|
||||||
|
<if test="locationType != null">#{locationType},</if>
|
||||||
|
<if test="locationStatus != null">#{locationStatus},</if>
|
||||||
|
<if test="outerId != null">#{outerId},</if>
|
||||||
|
<if test="areaId != null">#{areaId},</if>
|
||||||
|
<if test="tunnelId != null">#{tunnelId},</if>
|
||||||
|
<if test="equipmentId != null">#{equipmentId},</if>
|
||||||
|
<if test="wRow != null">#{wRow},</if>
|
||||||
|
<if test="wCol != null">#{wCol},</if>
|
||||||
|
<if test="wLayer != null">#{wLayer},</if>
|
||||||
|
<if test="wDepth != null">#{wDepth},</if>
|
||||||
|
<if test="isLock != null">#{isLock},</if>
|
||||||
|
<if test="vehicleId != null">#{vehicleId},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppLocation" parameterType="AppLocation">
|
||||||
|
update app_location
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="locationType != null">location_type = #{locationType},</if>
|
||||||
|
<if test="locationStatus != null">location_status = #{locationStatus},</if>
|
||||||
|
<if test="outerId != null">outer_id = #{outerId},</if>
|
||||||
|
<if test="areaId != null">area_id = #{areaId},</if>
|
||||||
|
<if test="tunnelId != null">tunnel_id = #{tunnelId},</if>
|
||||||
|
<if test="equipmentId != null">equipment_id = #{equipmentId},</if>
|
||||||
|
<if test="wRow != null">w_row = #{wRow},</if>
|
||||||
|
<if test="wCol != null">w_col = #{wCol},</if>
|
||||||
|
<if test="wLayer != null">w_layer = #{wLayer},</if>
|
||||||
|
<if test="wDepth != null">w_depth = #{wDepth},</if>
|
||||||
|
<if test="isLock != null">is_lock = #{isLock},</if>
|
||||||
|
<if test="vehicleId != null">vehicle_id = #{vehicleId},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where location_id = #{locationId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppLocationByLocationId" parameterType="String">
|
||||||
|
delete from app_location where location_id = #{locationId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppLocationByLocationIds" parameterType="String">
|
||||||
|
delete from app_location where location_id in
|
||||||
|
<foreach item="locationId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{locationId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,103 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppPmsOrderInMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppPmsOrderIn" id="AppPmsOrderInResult">
|
||||||
|
<result property="listId" column="list_id" />
|
||||||
|
<result property="orderType" column="order_type" />
|
||||||
|
<result property="customerId" column="customer_id" />
|
||||||
|
<result property="orderId" column="order_id" />
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
<result property="goodsNum" column="goods_num" />
|
||||||
|
<result property="goodsCode" column="goods_code" />
|
||||||
|
<result property="goodsDesc" column="goods_desc" />
|
||||||
|
<result property="unit" column="unit" />
|
||||||
|
<result property="spare1" column="spare1" />
|
||||||
|
<result property="spare2" column="spare2" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppPmsOrderInVo">
|
||||||
|
select list_id, order_type, customer_id, order_id, goods_id, goods_num, goods_code, goods_desc, unit, spare1, spare2 from app_pms_order_in
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppPmsOrderInList" parameterType="AppPmsOrderIn" resultMap="AppPmsOrderInResult">
|
||||||
|
<include refid="selectAppPmsOrderInVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="orderType != null "> and order_type = #{orderType}</if>
|
||||||
|
<if test="customerId != null and customerId != ''"> and customer_id = #{customerId}</if>
|
||||||
|
<if test="orderId != null and orderId != ''"> and order_id = #{orderId}</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
<if test="goodsNum != null "> and goods_num = #{goodsNum}</if>
|
||||||
|
<if test="goodsCode != null and goodsCode != ''"> and goods_code = #{goodsCode}</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''"> and goods_desc = #{goodsDesc}</if>
|
||||||
|
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
||||||
|
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||||
|
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppPmsOrderInByListId" parameterType="String" resultMap="AppPmsOrderInResult">
|
||||||
|
<include refid="selectAppPmsOrderInVo"/>
|
||||||
|
where list_id = #{listId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppPmsOrderIn" parameterType="AppPmsOrderIn">
|
||||||
|
insert into app_pms_order_in
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="listId != null">list_id,</if>
|
||||||
|
<if test="orderType != null">order_type,</if>
|
||||||
|
<if test="customerId != null and customerId != ''">customer_id,</if>
|
||||||
|
<if test="orderId != null and orderId != ''">order_id,</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id,</if>
|
||||||
|
<if test="goodsNum != null">goods_num,</if>
|
||||||
|
<if test="goodsCode != null and goodsCode != ''">goods_code,</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''">goods_desc,</if>
|
||||||
|
<if test="unit != null and unit != ''">unit,</if>
|
||||||
|
<if test="spare1 != null">spare1,</if>
|
||||||
|
<if test="spare2 != null">spare2,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="listId != null">#{listId},</if>
|
||||||
|
<if test="orderType != null">#{orderType},</if>
|
||||||
|
<if test="customerId != null and customerId != ''">#{customerId},</if>
|
||||||
|
<if test="orderId != null and orderId != ''">#{orderId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">#{goodsId},</if>
|
||||||
|
<if test="goodsNum != null">#{goodsNum},</if>
|
||||||
|
<if test="goodsCode != null and goodsCode != ''">#{goodsCode},</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''">#{goodsDesc},</if>
|
||||||
|
<if test="unit != null and unit != ''">#{unit},</if>
|
||||||
|
<if test="spare1 != null">#{spare1},</if>
|
||||||
|
<if test="spare2 != null">#{spare2},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppPmsOrderIn" parameterType="AppPmsOrderIn">
|
||||||
|
update app_pms_order_in
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="orderType != null">order_type = #{orderType},</if>
|
||||||
|
<if test="customerId != null and customerId != ''">customer_id = #{customerId},</if>
|
||||||
|
<if test="orderId != null and orderId != ''">order_id = #{orderId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id = #{goodsId},</if>
|
||||||
|
<if test="goodsNum != null">goods_num = #{goodsNum},</if>
|
||||||
|
<if test="goodsCode != null and goodsCode != ''">goods_code = #{goodsCode},</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''">goods_desc = #{goodsDesc},</if>
|
||||||
|
<if test="unit != null and unit != ''">unit = #{unit},</if>
|
||||||
|
<if test="spare1 != null">spare1 = #{spare1},</if>
|
||||||
|
<if test="spare2 != null">spare2 = #{spare2},</if>
|
||||||
|
</trim>
|
||||||
|
where list_id = #{listId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppPmsOrderInByListId" parameterType="String">
|
||||||
|
delete from app_pms_order_in where list_id = #{listId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppPmsOrderInByListIds" parameterType="String">
|
||||||
|
delete from app_pms_order_in where list_id in
|
||||||
|
<foreach item="listId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{listId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,88 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppPmsOrderOutMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppPmsOrderOut" id="AppPmsOrderOutResult">
|
||||||
|
<result property="listId" column="list_id" />
|
||||||
|
<result property="orderType" column="order_type" />
|
||||||
|
<result property="customerId" column="customer_id" />
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
<result property="goodsNum" column="goods_num" />
|
||||||
|
<result property="goodsDesc" column="goods_desc" />
|
||||||
|
<result property="spare1" column="spare1" />
|
||||||
|
<result property="spare2" column="spare2" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppPmsOrderOutVo">
|
||||||
|
select list_id, order_type, customer_id, goods_id, goods_num, goods_desc, spare1, spare2 from app_pms_order_out
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppPmsOrderOutList" parameterType="AppPmsOrderOut" resultMap="AppPmsOrderOutResult">
|
||||||
|
<include refid="selectAppPmsOrderOutVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="orderType != null "> and order_type = #{orderType}</if>
|
||||||
|
<if test="customerId != null and customerId != ''"> and customer_id = #{customerId}</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
<if test="goodsNum != null "> and goods_num = #{goodsNum}</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''"> and goods_desc = #{goodsDesc}</if>
|
||||||
|
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||||
|
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppPmsOrderOutByListId" parameterType="String" resultMap="AppPmsOrderOutResult">
|
||||||
|
<include refid="selectAppPmsOrderOutVo"/>
|
||||||
|
where list_id = #{listId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppPmsOrderOut" parameterType="AppPmsOrderOut">
|
||||||
|
insert into app_pms_order_out
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="listId != null">list_id,</if>
|
||||||
|
<if test="orderType != null">order_type,</if>
|
||||||
|
<if test="customerId != null and customerId != ''">customer_id,</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id,</if>
|
||||||
|
<if test="goodsNum != null">goods_num,</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''">goods_desc,</if>
|
||||||
|
<if test="spare1 != null and spare1 != ''">spare1,</if>
|
||||||
|
<if test="spare2 != null">spare2,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="listId != null">#{listId},</if>
|
||||||
|
<if test="orderType != null">#{orderType},</if>
|
||||||
|
<if test="customerId != null and customerId != ''">#{customerId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">#{goodsId},</if>
|
||||||
|
<if test="goodsNum != null">#{goodsNum},</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''">#{goodsDesc},</if>
|
||||||
|
<if test="spare1 != null and spare1 != ''">#{spare1},</if>
|
||||||
|
<if test="spare2 != null">#{spare2},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppPmsOrderOut" parameterType="AppPmsOrderOut">
|
||||||
|
update app_pms_order_out
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="orderType != null">order_type = #{orderType},</if>
|
||||||
|
<if test="customerId != null and customerId != ''">customer_id = #{customerId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id = #{goodsId},</if>
|
||||||
|
<if test="goodsNum != null">goods_num = #{goodsNum},</if>
|
||||||
|
<if test="goodsDesc != null and goodsDesc != ''">goods_desc = #{goodsDesc},</if>
|
||||||
|
<if test="spare1 != null and spare1 != ''">spare1 = #{spare1},</if>
|
||||||
|
<if test="spare2 != null">spare2 = #{spare2},</if>
|
||||||
|
</trim>
|
||||||
|
where list_id = #{listId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppPmsOrderOutByListId" parameterType="String">
|
||||||
|
delete from app_pms_order_out where list_id = #{listId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppPmsOrderOutByListIds" parameterType="String">
|
||||||
|
delete from app_pms_order_out where list_id in
|
||||||
|
<foreach item="listId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{listId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppProviderMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppProvider" id="AppProviderResult">
|
||||||
|
<result property="providerId" column="provider_id" />
|
||||||
|
<result property="providerName" column="provider_name" />
|
||||||
|
<result property="providerContact" column="provider_contact" />
|
||||||
|
<result property="providerAddress" column="provider_address" />
|
||||||
|
<result property="providerStatus" column="provider_status" />
|
||||||
|
<result property="lastUpdateUser" column="last_update_user" />
|
||||||
|
<result property="lastUpdateTime" column="last_update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppProviderVo">
|
||||||
|
select provider_id, provider_name, provider_contact, provider_address, provider_status, last_update_user, last_update_time from app_provider
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppProviderList" parameterType="AppProvider" resultMap="AppProviderResult">
|
||||||
|
<include refid="selectAppProviderVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="providerName != null and providerName != ''"> and provider_name like concat('%', #{providerName}, '%')</if>
|
||||||
|
<if test="providerContact != null "> and provider_contact = #{providerContact}</if>
|
||||||
|
<if test="providerAddress != null and providerAddress != ''"> and provider_address = #{providerAddress}</if>
|
||||||
|
<if test="providerStatus != null "> and provider_status = #{providerStatus}</if>
|
||||||
|
<if test="lastUpdateUser != null and lastUpdateUser != ''"> and last_update_user = #{lastUpdateUser}</if>
|
||||||
|
<if test="lastUpdateTime != null "> and last_update_time = #{lastUpdateTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppProviderByProviderId" parameterType="String" resultMap="AppProviderResult">
|
||||||
|
<include refid="selectAppProviderVo"/>
|
||||||
|
where provider_id = #{providerId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppProvider" parameterType="AppProvider">
|
||||||
|
insert into app_provider
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="providerId != null">provider_id,</if>
|
||||||
|
<if test="providerName != null">provider_name,</if>
|
||||||
|
<if test="providerContact != null">provider_contact,</if>
|
||||||
|
<if test="providerAddress != null">provider_address,</if>
|
||||||
|
<if test="providerStatus != null">provider_status,</if>
|
||||||
|
<if test="lastUpdateUser != null">last_update_user,</if>
|
||||||
|
<if test="lastUpdateTime != null">last_update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="providerId != null">#{providerId},</if>
|
||||||
|
<if test="providerName != null">#{providerName},</if>
|
||||||
|
<if test="providerContact != null">#{providerContact},</if>
|
||||||
|
<if test="providerAddress != null">#{providerAddress},</if>
|
||||||
|
<if test="providerStatus != null">#{providerStatus},</if>
|
||||||
|
<if test="lastUpdateUser != null">#{lastUpdateUser},</if>
|
||||||
|
<if test="lastUpdateTime != null">#{lastUpdateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppProvider" parameterType="AppProvider">
|
||||||
|
update app_provider
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="providerName != null">provider_name = #{providerName},</if>
|
||||||
|
<if test="providerContact != null">provider_contact = #{providerContact},</if>
|
||||||
|
<if test="providerAddress != null">provider_address = #{providerAddress},</if>
|
||||||
|
<if test="providerStatus != null">provider_status = #{providerStatus},</if>
|
||||||
|
<if test="lastUpdateUser != null">last_update_user = #{lastUpdateUser},</if>
|
||||||
|
<if test="lastUpdateTime != null">last_update_time = #{lastUpdateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where provider_id = #{providerId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppProviderByProviderId" parameterType="String">
|
||||||
|
delete from app_provider where provider_id = #{providerId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppProviderByProviderIds" parameterType="String">
|
||||||
|
delete from app_provider where provider_id in
|
||||||
|
<foreach item="providerId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{providerId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppStandMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppStand" id="AppStandResult">
|
||||||
|
<result property="standId" column="stand_id" />
|
||||||
|
<result property="standName" column="stand_name" />
|
||||||
|
<result property="standType" column="stand_type" />
|
||||||
|
<result property="standArea" column="stand_area" />
|
||||||
|
<result property="standProperty" column="stand_property" />
|
||||||
|
<result property="standStatus" column="stand_status" />
|
||||||
|
<result property="isLock" column="is_lock" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppStandVo">
|
||||||
|
select stand_id, stand_name, stand_type, stand_area, stand_property, stand_status, is_lock, remark from app_stand
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppStandList" parameterType="AppStand" resultMap="AppStandResult">
|
||||||
|
<include refid="selectAppStandVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="standName != null and standName != ''"> and stand_name like concat('%', #{standName}, '%')</if>
|
||||||
|
<if test="standType != null and standType != ''"> and stand_type = #{standType}</if>
|
||||||
|
<if test="standArea != null and standArea != ''"> and stand_area = #{standArea}</if>
|
||||||
|
<if test="standProperty != null and standProperty != ''"> and stand_property = #{standProperty}</if>
|
||||||
|
<if test="standStatus != null "> and stand_status = #{standStatus}</if>
|
||||||
|
<if test="isLock != null "> and is_lock = #{isLock}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppStandByStandId" parameterType="String" resultMap="AppStandResult">
|
||||||
|
<include refid="selectAppStandVo"/>
|
||||||
|
where stand_id = #{standId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppStand" parameterType="AppStand">
|
||||||
|
insert into app_stand
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="standId != null">stand_id,</if>
|
||||||
|
<if test="standName != null and standName != ''">stand_name,</if>
|
||||||
|
<if test="standType != null and standType != ''">stand_type,</if>
|
||||||
|
<if test="standArea != null and standArea != ''">stand_area,</if>
|
||||||
|
<if test="standProperty != null and standProperty != ''">stand_property,</if>
|
||||||
|
<if test="standStatus != null">stand_status,</if>
|
||||||
|
<if test="isLock != null">is_lock,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="standId != null">#{standId},</if>
|
||||||
|
<if test="standName != null and standName != ''">#{standName},</if>
|
||||||
|
<if test="standType != null and standType != ''">#{standType},</if>
|
||||||
|
<if test="standArea != null and standArea != ''">#{standArea},</if>
|
||||||
|
<if test="standProperty != null and standProperty != ''">#{standProperty},</if>
|
||||||
|
<if test="standStatus != null">#{standStatus},</if>
|
||||||
|
<if test="isLock != null">#{isLock},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppStand" parameterType="AppStand">
|
||||||
|
update app_stand
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="standName != null and standName != ''">stand_name = #{standName},</if>
|
||||||
|
<if test="standType != null and standType != ''">stand_type = #{standType},</if>
|
||||||
|
<if test="standArea != null and standArea != ''">stand_area = #{standArea},</if>
|
||||||
|
<if test="standProperty != null and standProperty != ''">stand_property = #{standProperty},</if>
|
||||||
|
<if test="standStatus != null">stand_status = #{standStatus},</if>
|
||||||
|
<if test="isLock != null">is_lock = #{isLock},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where stand_id = #{standId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppStandByStandId" parameterType="String">
|
||||||
|
delete from app_stand where stand_id = #{standId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppStandByStandIds" parameterType="String">
|
||||||
|
delete from app_stand where stand_id in
|
||||||
|
<foreach item="standId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{standId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
141
ruoyi-system/src/main/resources/mapper/app/AppStockMapper.xml
Normal file
141
ruoyi-system/src/main/resources/mapper/app/AppStockMapper.xml
Normal file
|
|
@ -0,0 +1,141 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppStockMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppStock" id="AppStockResult">
|
||||||
|
<result property="stockId" column="stock_id" />
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="locationId" column="location_id" />
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
<result property="goodsName" column="goods_name" />
|
||||||
|
<result property="goodsUnit" column="goods_unit" />
|
||||||
|
<result property="providerId" column="provider_id" />
|
||||||
|
<result property="providerName" column="provider_name" />
|
||||||
|
<result property="remainNum" column="remain_num" />
|
||||||
|
<result property="originNum" column="origin_num" />
|
||||||
|
<result property="batchNo" column="batch_no" />
|
||||||
|
<result property="invAge" column="inv_age" />
|
||||||
|
<result property="goodsStatus" column="goods_status" />
|
||||||
|
<result property="stockStatus" column="stock_status" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="createUser" column="create_user" />
|
||||||
|
<result property="lastUpdateTime" column="last_update_time" />
|
||||||
|
<result property="lastUpdateUser" column="last_update_user" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppStockVo">
|
||||||
|
select stock_id, vehicle_id, location_id, goods_id, goods_name, goods_unit, provider_id, provider_name, remain_num, origin_num, batch_no, inv_age, goods_status, stock_status, create_time, create_user, last_update_time, last_update_user, remark from app_stock
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppStockList" parameterType="AppStock" resultMap="AppStockResult">
|
||||||
|
<include refid="selectAppStockVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''"> and vehicle_id = #{vehicleId}</if>
|
||||||
|
<if test="locationId != null and locationId != ''"> and location_id = #{locationId}</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
<if test="goodsName != null and goodsName != ''"> and goods_name like concat('%', #{goodsName}, '%')</if>
|
||||||
|
<if test="goodsUnit != null and goodsUnit != ''"> and goods_unit = #{goodsUnit}</if>
|
||||||
|
<if test="providerId != null and providerId != ''"> and provider_id = #{providerId}</if>
|
||||||
|
<if test="providerName != null and providerName != ''"> and provider_name like concat('%', #{providerName}, '%')</if>
|
||||||
|
<if test="remainNum != null "> and remain_num = #{remainNum}</if>
|
||||||
|
<if test="originNum != null "> and origin_num = #{originNum}</if>
|
||||||
|
<if test="batchNo != null and batchNo != ''"> and batch_no = #{batchNo}</if>
|
||||||
|
<if test="invAge != null "> and inv_age = #{invAge}</if>
|
||||||
|
<if test="goodsStatus != null "> and goods_status = #{goodsStatus}</if>
|
||||||
|
<if test="stockStatus != null "> and stock_status = #{stockStatus}</if>
|
||||||
|
<if test="createUser != null and createUser != ''"> and create_user = #{createUser}</if>
|
||||||
|
<if test="lastUpdateTime != null "> and last_update_time = #{lastUpdateTime}</if>
|
||||||
|
<if test="lastUpdateUser != null and lastUpdateUser != ''"> and last_update_user = #{lastUpdateUser}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppStockByStockId" parameterType="String" resultMap="AppStockResult">
|
||||||
|
<include refid="selectAppStockVo"/>
|
||||||
|
where stock_id = #{stockId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppStock" parameterType="AppStock">
|
||||||
|
insert into app_stock
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="stockId != null">stock_id,</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id,</if>
|
||||||
|
<if test="locationId != null and locationId != ''">location_id,</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id,</if>
|
||||||
|
<if test="goodsName != null">goods_name,</if>
|
||||||
|
<if test="goodsUnit != null">goods_unit,</if>
|
||||||
|
<if test="providerId != null and providerId != ''">provider_id,</if>
|
||||||
|
<if test="providerName != null">provider_name,</if>
|
||||||
|
<if test="remainNum != null">remain_num,</if>
|
||||||
|
<if test="originNum != null">origin_num,</if>
|
||||||
|
<if test="batchNo != null">batch_no,</if>
|
||||||
|
<if test="invAge != null">inv_age,</if>
|
||||||
|
<if test="goodsStatus != null">goods_status,</if>
|
||||||
|
<if test="stockStatus != null">stock_status,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="createUser != null">create_user,</if>
|
||||||
|
<if test="lastUpdateTime != null">last_update_time,</if>
|
||||||
|
<if test="lastUpdateUser != null">last_update_user,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="stockId != null">#{stockId},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">#{vehicleId},</if>
|
||||||
|
<if test="locationId != null and locationId != ''">#{locationId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">#{goodsId},</if>
|
||||||
|
<if test="goodsName != null">#{goodsName},</if>
|
||||||
|
<if test="goodsUnit != null">#{goodsUnit},</if>
|
||||||
|
<if test="providerId != null and providerId != ''">#{providerId},</if>
|
||||||
|
<if test="providerName != null">#{providerName},</if>
|
||||||
|
<if test="remainNum != null">#{remainNum},</if>
|
||||||
|
<if test="originNum != null">#{originNum},</if>
|
||||||
|
<if test="batchNo != null">#{batchNo},</if>
|
||||||
|
<if test="invAge != null">#{invAge},</if>
|
||||||
|
<if test="goodsStatus != null">#{goodsStatus},</if>
|
||||||
|
<if test="stockStatus != null">#{stockStatus},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="createUser != null">#{createUser},</if>
|
||||||
|
<if test="lastUpdateTime != null">#{lastUpdateTime},</if>
|
||||||
|
<if test="lastUpdateUser != null">#{lastUpdateUser},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppStock" parameterType="AppStock">
|
||||||
|
update app_stock
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id = #{vehicleId},</if>
|
||||||
|
<if test="locationId != null and locationId != ''">location_id = #{locationId},</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''">goods_id = #{goodsId},</if>
|
||||||
|
<if test="goodsName != null">goods_name = #{goodsName},</if>
|
||||||
|
<if test="goodsUnit != null">goods_unit = #{goodsUnit},</if>
|
||||||
|
<if test="providerId != null and providerId != ''">provider_id = #{providerId},</if>
|
||||||
|
<if test="providerName != null">provider_name = #{providerName},</if>
|
||||||
|
<if test="remainNum != null">remain_num = #{remainNum},</if>
|
||||||
|
<if test="originNum != null">origin_num = #{originNum},</if>
|
||||||
|
<if test="batchNo != null">batch_no = #{batchNo},</if>
|
||||||
|
<if test="invAge != null">inv_age = #{invAge},</if>
|
||||||
|
<if test="goodsStatus != null">goods_status = #{goodsStatus},</if>
|
||||||
|
<if test="stockStatus != null">stock_status = #{stockStatus},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="createUser != null">create_user = #{createUser},</if>
|
||||||
|
<if test="lastUpdateTime != null">last_update_time = #{lastUpdateTime},</if>
|
||||||
|
<if test="lastUpdateUser != null">last_update_user = #{lastUpdateUser},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where stock_id = #{stockId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppStockByStockId" parameterType="String">
|
||||||
|
delete from app_stock where stock_id = #{stockId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppStockByStockIds" parameterType="String">
|
||||||
|
delete from app_stock where stock_id in
|
||||||
|
<foreach item="stockId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{stockId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
117
ruoyi-system/src/main/resources/mapper/app/AppTaskBakMapper.xml
Normal file
117
ruoyi-system/src/main/resources/mapper/app/AppTaskBakMapper.xml
Normal file
|
|
@ -0,0 +1,117 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppTaskBakMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppTaskBak" id="AppTaskBakResult">
|
||||||
|
<result property="taskId" column="task_id" />
|
||||||
|
<result property="taskType" column="task_type" />
|
||||||
|
<result property="taskStatus" column="task_status" />
|
||||||
|
<result property="taskPriority" column="task_priority" />
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="origin" column="origin" />
|
||||||
|
<result property="destination" column="destination" />
|
||||||
|
<result property="wcsTaskId" column="wcs_task_id" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="finishTime" column="finish_time" />
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
<result property="opNum" column="op_num" />
|
||||||
|
<result property="stockNum" column="stock_num" />
|
||||||
|
<result property="opUser" column="op_user" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppTaskBakVo">
|
||||||
|
select task_id, task_type, task_status, task_priority, vehicle_id, origin, destination, wcs_task_id, create_time, finish_time, goods_id, op_num, stock_num, op_user from app_task_bak
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppTaskBakList" parameterType="AppTaskBak" resultMap="AppTaskBakResult">
|
||||||
|
<include refid="selectAppTaskBakVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="taskType != null "> and task_type = #{taskType}</if>
|
||||||
|
<if test="taskStatus != null "> and task_status = #{taskStatus}</if>
|
||||||
|
<if test="taskPriority != null "> and task_priority = #{taskPriority}</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''"> and vehicle_id = #{vehicleId}</if>
|
||||||
|
<if test="origin != null and origin != ''"> and origin = #{origin}</if>
|
||||||
|
<if test="destination != null and destination != ''"> and destination = #{destination}</if>
|
||||||
|
<if test="wcsTaskId != null and wcsTaskId != ''"> and wcs_task_id = #{wcsTaskId}</if>
|
||||||
|
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
<if test="opNum != null "> and op_num = #{opNum}</if>
|
||||||
|
<if test="stockNum != null "> and stock_num = #{stockNum}</if>
|
||||||
|
<if test="opUser != null and opUser != ''"> and op_user = #{opUser}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppTaskBakByTaskId" parameterType="String" resultMap="AppTaskBakResult">
|
||||||
|
<include refid="selectAppTaskBakVo"/>
|
||||||
|
where task_id = #{taskId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppTaskBak" parameterType="AppTaskBak">
|
||||||
|
insert into app_task_bak
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="taskId != null">task_id,</if>
|
||||||
|
<if test="taskType != null">task_type,</if>
|
||||||
|
<if test="taskStatus != null">task_status,</if>
|
||||||
|
<if test="taskPriority != null">task_priority,</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id,</if>
|
||||||
|
<if test="origin != null">origin,</if>
|
||||||
|
<if test="destination != null">destination,</if>
|
||||||
|
<if test="wcsTaskId != null">wcs_task_id,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="finishTime != null">finish_time,</if>
|
||||||
|
<if test="goodsId != null">goods_id,</if>
|
||||||
|
<if test="opNum != null">op_num,</if>
|
||||||
|
<if test="stockNum != null">stock_num,</if>
|
||||||
|
<if test="opUser != null">op_user,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="taskId != null">#{taskId},</if>
|
||||||
|
<if test="taskType != null">#{taskType},</if>
|
||||||
|
<if test="taskStatus != null">#{taskStatus},</if>
|
||||||
|
<if test="taskPriority != null">#{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">#{vehicleId},</if>
|
||||||
|
<if test="origin != null">#{origin},</if>
|
||||||
|
<if test="destination != null">#{destination},</if>
|
||||||
|
<if test="wcsTaskId != null">#{wcsTaskId},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="finishTime != null">#{finishTime},</if>
|
||||||
|
<if test="goodsId != null">#{goodsId},</if>
|
||||||
|
<if test="opNum != null">#{opNum},</if>
|
||||||
|
<if test="stockNum != null">#{stockNum},</if>
|
||||||
|
<if test="opUser != null">#{opUser},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppTaskBak" parameterType="AppTaskBak">
|
||||||
|
update app_task_bak
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="taskType != null">task_type = #{taskType},</if>
|
||||||
|
<if test="taskStatus != null">task_status = #{taskStatus},</if>
|
||||||
|
<if test="taskPriority != null">task_priority = #{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id = #{vehicleId},</if>
|
||||||
|
<if test="origin != null">origin = #{origin},</if>
|
||||||
|
<if test="destination != null">destination = #{destination},</if>
|
||||||
|
<if test="wcsTaskId != null">wcs_task_id = #{wcsTaskId},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="finishTime != null">finish_time = #{finishTime},</if>
|
||||||
|
<if test="goodsId != null">goods_id = #{goodsId},</if>
|
||||||
|
<if test="opNum != null">op_num = #{opNum},</if>
|
||||||
|
<if test="stockNum != null">stock_num = #{stockNum},</if>
|
||||||
|
<if test="opUser != null">op_user = #{opUser},</if>
|
||||||
|
</trim>
|
||||||
|
where task_id = #{taskId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppTaskBakByTaskId" parameterType="String">
|
||||||
|
delete from app_task_bak where task_id = #{taskId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppTaskBakByTaskIds" parameterType="String">
|
||||||
|
delete from app_task_bak where task_id in
|
||||||
|
<foreach item="taskId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{taskId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
117
ruoyi-system/src/main/resources/mapper/app/AppTaskMapper.xml
Normal file
117
ruoyi-system/src/main/resources/mapper/app/AppTaskMapper.xml
Normal file
|
|
@ -0,0 +1,117 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppTaskMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppTask" id="AppTaskResult">
|
||||||
|
<result property="taskId" column="task_id" />
|
||||||
|
<result property="taskType" column="task_type" />
|
||||||
|
<result property="taskStatus" column="task_status" />
|
||||||
|
<result property="taskPriority" column="task_priority" />
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="origin" column="origin" />
|
||||||
|
<result property="destination" column="destination" />
|
||||||
|
<result property="wcsTaskId" column="wcs_task_id" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="finishTime" column="finish_time" />
|
||||||
|
<result property="goodsId" column="goods_id" />
|
||||||
|
<result property="opNum" column="op_num" />
|
||||||
|
<result property="stockNum" column="stock_num" />
|
||||||
|
<result property="opUser" column="op_user" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppTaskVo">
|
||||||
|
select task_id, task_type, task_status, task_priority, vehicle_id, origin, destination, wcs_task_id, create_time, finish_time, goods_id, op_num, stock_num, op_user from app_task
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppTaskList" parameterType="AppTask" resultMap="AppTaskResult">
|
||||||
|
<include refid="selectAppTaskVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="taskType != null "> and task_type = #{taskType}</if>
|
||||||
|
<if test="taskStatus != null "> and task_status = #{taskStatus}</if>
|
||||||
|
<if test="taskPriority != null "> and task_priority = #{taskPriority}</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''"> and vehicle_id = #{vehicleId}</if>
|
||||||
|
<if test="origin != null and origin != ''"> and origin = #{origin}</if>
|
||||||
|
<if test="destination != null and destination != ''"> and destination = #{destination}</if>
|
||||||
|
<if test="wcsTaskId != null and wcsTaskId != ''"> and wcs_task_id = #{wcsTaskId}</if>
|
||||||
|
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
||||||
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
<if test="opNum != null "> and op_num = #{opNum}</if>
|
||||||
|
<if test="stockNum != null "> and stock_num = #{stockNum}</if>
|
||||||
|
<if test="opUser != null and opUser != ''"> and op_user = #{opUser}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppTaskByTaskId" parameterType="String" resultMap="AppTaskResult">
|
||||||
|
<include refid="selectAppTaskVo"/>
|
||||||
|
where task_id = #{taskId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppTask" parameterType="AppTask">
|
||||||
|
insert into app_task
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="taskId != null">task_id,</if>
|
||||||
|
<if test="taskType != null">task_type,</if>
|
||||||
|
<if test="taskStatus != null">task_status,</if>
|
||||||
|
<if test="taskPriority != null">task_priority,</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id,</if>
|
||||||
|
<if test="origin != null">origin,</if>
|
||||||
|
<if test="destination != null">destination,</if>
|
||||||
|
<if test="wcsTaskId != null">wcs_task_id,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="finishTime != null">finish_time,</if>
|
||||||
|
<if test="goodsId != null">goods_id,</if>
|
||||||
|
<if test="opNum != null">op_num,</if>
|
||||||
|
<if test="stockNum != null">stock_num,</if>
|
||||||
|
<if test="opUser != null">op_user,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="taskId != null">#{taskId},</if>
|
||||||
|
<if test="taskType != null">#{taskType},</if>
|
||||||
|
<if test="taskStatus != null">#{taskStatus},</if>
|
||||||
|
<if test="taskPriority != null">#{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">#{vehicleId},</if>
|
||||||
|
<if test="origin != null">#{origin},</if>
|
||||||
|
<if test="destination != null">#{destination},</if>
|
||||||
|
<if test="wcsTaskId != null">#{wcsTaskId},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="finishTime != null">#{finishTime},</if>
|
||||||
|
<if test="goodsId != null">#{goodsId},</if>
|
||||||
|
<if test="opNum != null">#{opNum},</if>
|
||||||
|
<if test="stockNum != null">#{stockNum},</if>
|
||||||
|
<if test="opUser != null">#{opUser},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppTask" parameterType="AppTask">
|
||||||
|
update app_task
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="taskType != null">task_type = #{taskType},</if>
|
||||||
|
<if test="taskStatus != null">task_status = #{taskStatus},</if>
|
||||||
|
<if test="taskPriority != null">task_priority = #{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id = #{vehicleId},</if>
|
||||||
|
<if test="origin != null">origin = #{origin},</if>
|
||||||
|
<if test="destination != null">destination = #{destination},</if>
|
||||||
|
<if test="wcsTaskId != null">wcs_task_id = #{wcsTaskId},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="finishTime != null">finish_time = #{finishTime},</if>
|
||||||
|
<if test="goodsId != null">goods_id = #{goodsId},</if>
|
||||||
|
<if test="opNum != null">op_num = #{opNum},</if>
|
||||||
|
<if test="stockNum != null">stock_num = #{stockNum},</if>
|
||||||
|
<if test="opUser != null">op_user = #{opUser},</if>
|
||||||
|
</trim>
|
||||||
|
where task_id = #{taskId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppTaskByTaskId" parameterType="String">
|
||||||
|
delete from app_task where task_id = #{taskId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppTaskByTaskIds" parameterType="String">
|
||||||
|
delete from app_task where task_id in
|
||||||
|
<foreach item="taskId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{taskId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,92 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppVehicleMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppVehicle" id="AppVehicleResult">
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="vehicleType" column="vehicle_type" />
|
||||||
|
<result property="vehicleStatus" column="vehicle_status" />
|
||||||
|
<result property="locationId" column="location_id" />
|
||||||
|
<result property="isEmpty" column="is_empty" />
|
||||||
|
<result property="isLock" column="is_lock" />
|
||||||
|
<result property="lastInTime" column="last_in_time" />
|
||||||
|
<result property="lastInUser" column="last_in_user" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppVehicleVo">
|
||||||
|
select vehicle_id, vehicle_type, vehicle_status, location_id, is_empty, is_lock, last_in_time, last_in_user, remark from app_vehicle
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppVehicleList" parameterType="AppVehicle" resultMap="AppVehicleResult">
|
||||||
|
<include refid="selectAppVehicleVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="vehicleType != null and vehicleType != ''"> and vehicle_type = #{vehicleType}</if>
|
||||||
|
<if test="vehicleStatus != null "> and vehicle_status = #{vehicleStatus}</if>
|
||||||
|
<if test="locationId != null and locationId != ''"> and location_id = #{locationId}</if>
|
||||||
|
<if test="isEmpty != null "> and is_empty = #{isEmpty}</if>
|
||||||
|
<if test="isLock != null "> and is_lock = #{isLock}</if>
|
||||||
|
<if test="lastInTime != null "> and last_in_time = #{lastInTime}</if>
|
||||||
|
<if test="lastInUser != null and lastInUser != ''"> and last_in_user = #{lastInUser}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppVehicleByVehicleId" parameterType="String" resultMap="AppVehicleResult">
|
||||||
|
<include refid="selectAppVehicleVo"/>
|
||||||
|
where vehicle_id = #{vehicleId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppVehicle" parameterType="AppVehicle">
|
||||||
|
insert into app_vehicle
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="vehicleId != null">vehicle_id,</if>
|
||||||
|
<if test="vehicleType != null and vehicleType != ''">vehicle_type,</if>
|
||||||
|
<if test="vehicleStatus != null">vehicle_status,</if>
|
||||||
|
<if test="locationId != null">location_id,</if>
|
||||||
|
<if test="isEmpty != null">is_empty,</if>
|
||||||
|
<if test="isLock != null">is_lock,</if>
|
||||||
|
<if test="lastInTime != null">last_in_time,</if>
|
||||||
|
<if test="lastInUser != null">last_in_user,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="vehicleId != null">#{vehicleId},</if>
|
||||||
|
<if test="vehicleType != null and vehicleType != ''">#{vehicleType},</if>
|
||||||
|
<if test="vehicleStatus != null">#{vehicleStatus},</if>
|
||||||
|
<if test="locationId != null">#{locationId},</if>
|
||||||
|
<if test="isEmpty != null">#{isEmpty},</if>
|
||||||
|
<if test="isLock != null">#{isLock},</if>
|
||||||
|
<if test="lastInTime != null">#{lastInTime},</if>
|
||||||
|
<if test="lastInUser != null">#{lastInUser},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppVehicle" parameterType="AppVehicle">
|
||||||
|
update app_vehicle
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="vehicleType != null and vehicleType != ''">vehicle_type = #{vehicleType},</if>
|
||||||
|
<if test="vehicleStatus != null">vehicle_status = #{vehicleStatus},</if>
|
||||||
|
<if test="locationId != null">location_id = #{locationId},</if>
|
||||||
|
<if test="isEmpty != null">is_empty = #{isEmpty},</if>
|
||||||
|
<if test="isLock != null">is_lock = #{isLock},</if>
|
||||||
|
<if test="lastInTime != null">last_in_time = #{lastInTime},</if>
|
||||||
|
<if test="lastInUser != null">last_in_user = #{lastInUser},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where vehicle_id = #{vehicleId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppVehicleByVehicleId" parameterType="String">
|
||||||
|
delete from app_vehicle where vehicle_id = #{vehicleId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppVehicleByVehicleIds" parameterType="String">
|
||||||
|
delete from app_vehicle where vehicle_id in
|
||||||
|
<foreach item="vehicleId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{vehicleId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
82
ruoyi-system/src/main/resources/mapper/app/AppWaveMapper.xml
Normal file
82
ruoyi-system/src/main/resources/mapper/app/AppWaveMapper.xml
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppWaveMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppWave" id="AppWaveResult">
|
||||||
|
<result property="waveId" column="wave_id" />
|
||||||
|
<result property="outRule" column="out_rule" />
|
||||||
|
<result property="isChad" column="is_chad" />
|
||||||
|
<result property="waveStatus" column="wave_status" />
|
||||||
|
<result property="orderWbs" column="order_wbs" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
<result property="waveDestination" column="wave_destination" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppWaveVo">
|
||||||
|
select wave_id, out_rule, is_chad, wave_status, order_wbs, remark, wave_destination from app_wave
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppWaveList" parameterType="AppWave" resultMap="AppWaveResult">
|
||||||
|
<include refid="selectAppWaveVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="outRule != null "> and out_rule = #{outRule}</if>
|
||||||
|
<if test="isChad != null "> and is_chad = #{isChad}</if>
|
||||||
|
<if test="waveStatus != null "> and wave_status = #{waveStatus}</if>
|
||||||
|
<if test="orderWbs != null and orderWbs != ''"> and order_wbs = #{orderWbs}</if>
|
||||||
|
<if test="waveDestination != null and waveDestination != ''"> and wave_destination = #{waveDestination}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppWaveByWaveId" parameterType="String" resultMap="AppWaveResult">
|
||||||
|
<include refid="selectAppWaveVo"/>
|
||||||
|
where wave_id = #{waveId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppWave" parameterType="AppWave">
|
||||||
|
insert into app_wave
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="waveId != null">wave_id,</if>
|
||||||
|
<if test="outRule != null">out_rule,</if>
|
||||||
|
<if test="isChad != null">is_chad,</if>
|
||||||
|
<if test="waveStatus != null">wave_status,</if>
|
||||||
|
<if test="orderWbs != null">order_wbs,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
<if test="waveDestination != null and waveDestination != ''">wave_destination,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="waveId != null">#{waveId},</if>
|
||||||
|
<if test="outRule != null">#{outRule},</if>
|
||||||
|
<if test="isChad != null">#{isChad},</if>
|
||||||
|
<if test="waveStatus != null">#{waveStatus},</if>
|
||||||
|
<if test="orderWbs != null">#{orderWbs},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
<if test="waveDestination != null and waveDestination != ''">#{waveDestination},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppWave" parameterType="AppWave">
|
||||||
|
update app_wave
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="outRule != null">out_rule = #{outRule},</if>
|
||||||
|
<if test="isChad != null">is_chad = #{isChad},</if>
|
||||||
|
<if test="waveStatus != null">wave_status = #{waveStatus},</if>
|
||||||
|
<if test="orderWbs != null">order_wbs = #{orderWbs},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
<if test="waveDestination != null and waveDestination != ''">wave_destination = #{waveDestination},</if>
|
||||||
|
</trim>
|
||||||
|
where wave_id = #{waveId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppWaveByWaveId" parameterType="String">
|
||||||
|
delete from app_wave where wave_id = #{waveId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppWaveByWaveIds" parameterType="String">
|
||||||
|
delete from app_wave where wave_id in
|
||||||
|
<foreach item="waveId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{waveId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,101 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppWcsTaskBakMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppWcsTaskBak" id="AppWcsTaskBakResult">
|
||||||
|
<result property="wcsTaskId" column="wcs_task_id" />
|
||||||
|
<result property="wcsTaskStatus" column="wcs_task_status" />
|
||||||
|
<result property="wcsTaskType" column="wcs_task_type" />
|
||||||
|
<result property="taskPriority" column="task_priority" />
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="origin" column="origin" />
|
||||||
|
<result property="destination" column="destination" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="sendTime" column="send_time" />
|
||||||
|
<result property="finishTime" column="finish_time" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppWcsTaskBakVo">
|
||||||
|
select wcs_task_id, wcs_task_status, wcs_task_type, task_priority, vehicle_id, origin, destination, create_time, send_time, finish_time, remark from app_wcs_task_bak
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppWcsTaskBakList" parameterType="AppWcsTaskBak" resultMap="AppWcsTaskBakResult">
|
||||||
|
<include refid="selectAppWcsTaskBakVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="wcsTaskStatus != null "> and wcs_task_status = #{wcsTaskStatus}</if>
|
||||||
|
<if test="wcsTaskType != null "> and wcs_task_type = #{wcsTaskType}</if>
|
||||||
|
<if test="taskPriority != null "> and task_priority = #{taskPriority}</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''"> and vehicle_id = #{vehicleId}</if>
|
||||||
|
<if test="origin != null and origin != ''"> and origin = #{origin}</if>
|
||||||
|
<if test="destination != null and destination != ''"> and destination = #{destination}</if>
|
||||||
|
<if test="sendTime != null "> and send_time = #{sendTime}</if>
|
||||||
|
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppWcsTaskBakByWcsTaskId" parameterType="String" resultMap="AppWcsTaskBakResult">
|
||||||
|
<include refid="selectAppWcsTaskBakVo"/>
|
||||||
|
where wcs_task_id = #{wcsTaskId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppWcsTaskBak" parameterType="AppWcsTaskBak">
|
||||||
|
insert into app_wcs_task_bak
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="wcsTaskId != null">wcs_task_id,</if>
|
||||||
|
<if test="wcsTaskStatus != null">wcs_task_status,</if>
|
||||||
|
<if test="wcsTaskType != null">wcs_task_type,</if>
|
||||||
|
<if test="taskPriority != null">task_priority,</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id,</if>
|
||||||
|
<if test="origin != null and origin != ''">origin,</if>
|
||||||
|
<if test="destination != null and destination != ''">destination,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="sendTime != null">send_time,</if>
|
||||||
|
<if test="finishTime != null">finish_time,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="wcsTaskId != null">#{wcsTaskId},</if>
|
||||||
|
<if test="wcsTaskStatus != null">#{wcsTaskStatus},</if>
|
||||||
|
<if test="wcsTaskType != null">#{wcsTaskType},</if>
|
||||||
|
<if test="taskPriority != null">#{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">#{vehicleId},</if>
|
||||||
|
<if test="origin != null and origin != ''">#{origin},</if>
|
||||||
|
<if test="destination != null and destination != ''">#{destination},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="sendTime != null">#{sendTime},</if>
|
||||||
|
<if test="finishTime != null">#{finishTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppWcsTaskBak" parameterType="AppWcsTaskBak">
|
||||||
|
update app_wcs_task_bak
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="wcsTaskStatus != null">wcs_task_status = #{wcsTaskStatus},</if>
|
||||||
|
<if test="wcsTaskType != null">wcs_task_type = #{wcsTaskType},</if>
|
||||||
|
<if test="taskPriority != null">task_priority = #{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id = #{vehicleId},</if>
|
||||||
|
<if test="origin != null and origin != ''">origin = #{origin},</if>
|
||||||
|
<if test="destination != null and destination != ''">destination = #{destination},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="sendTime != null">send_time = #{sendTime},</if>
|
||||||
|
<if test="finishTime != null">finish_time = #{finishTime},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where wcs_task_id = #{wcsTaskId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppWcsTaskBakByWcsTaskId" parameterType="String">
|
||||||
|
delete from app_wcs_task_bak where wcs_task_id = #{wcsTaskId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppWcsTaskBakByWcsTaskIds" parameterType="String">
|
||||||
|
delete from app_wcs_task_bak where wcs_task_id in
|
||||||
|
<foreach item="wcsTaskId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{wcsTaskId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
101
ruoyi-system/src/main/resources/mapper/app/AppWcsTaskMapper.xml
Normal file
101
ruoyi-system/src/main/resources/mapper/app/AppWcsTaskMapper.xml
Normal file
|
|
@ -0,0 +1,101 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.app.mapper.AppWcsTaskMapper">
|
||||||
|
|
||||||
|
<resultMap type="AppWcsTask" id="AppWcsTaskResult">
|
||||||
|
<result property="wcsTaskId" column="wcs_task_id" />
|
||||||
|
<result property="wcsTaskStatus" column="wcs_task_status" />
|
||||||
|
<result property="wcsTaskType" column="wcs_task_type" />
|
||||||
|
<result property="taskPriority" column="task_priority" />
|
||||||
|
<result property="vehicleId" column="vehicle_id" />
|
||||||
|
<result property="origin" column="origin" />
|
||||||
|
<result property="destination" column="destination" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="sendTime" column="send_time" />
|
||||||
|
<result property="finishTime" column="finish_time" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectAppWcsTaskVo">
|
||||||
|
select wcs_task_id, wcs_task_status, wcs_task_type, task_priority, vehicle_id, origin, destination, create_time, send_time, finish_time, remark from app_wcs_task
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectAppWcsTaskList" parameterType="AppWcsTask" resultMap="AppWcsTaskResult">
|
||||||
|
<include refid="selectAppWcsTaskVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="wcsTaskStatus != null "> and wcs_task_status = #{wcsTaskStatus}</if>
|
||||||
|
<if test="wcsTaskType != null "> and wcs_task_type = #{wcsTaskType}</if>
|
||||||
|
<if test="taskPriority != null "> and task_priority = #{taskPriority}</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''"> and vehicle_id = #{vehicleId}</if>
|
||||||
|
<if test="origin != null and origin != ''"> and origin = #{origin}</if>
|
||||||
|
<if test="destination != null and destination != ''"> and destination = #{destination}</if>
|
||||||
|
<if test="sendTime != null "> and send_time = #{sendTime}</if>
|
||||||
|
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectAppWcsTaskByWcsTaskId" parameterType="String" resultMap="AppWcsTaskResult">
|
||||||
|
<include refid="selectAppWcsTaskVo"/>
|
||||||
|
where wcs_task_id = #{wcsTaskId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertAppWcsTask" parameterType="AppWcsTask">
|
||||||
|
insert into app_wcs_task
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="wcsTaskId != null">wcs_task_id,</if>
|
||||||
|
<if test="wcsTaskStatus != null">wcs_task_status,</if>
|
||||||
|
<if test="wcsTaskType != null">wcs_task_type,</if>
|
||||||
|
<if test="taskPriority != null">task_priority,</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id,</if>
|
||||||
|
<if test="origin != null and origin != ''">origin,</if>
|
||||||
|
<if test="destination != null and destination != ''">destination,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="sendTime != null">send_time,</if>
|
||||||
|
<if test="finishTime != null">finish_time,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="wcsTaskId != null">#{wcsTaskId},</if>
|
||||||
|
<if test="wcsTaskStatus != null">#{wcsTaskStatus},</if>
|
||||||
|
<if test="wcsTaskType != null">#{wcsTaskType},</if>
|
||||||
|
<if test="taskPriority != null">#{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">#{vehicleId},</if>
|
||||||
|
<if test="origin != null and origin != ''">#{origin},</if>
|
||||||
|
<if test="destination != null and destination != ''">#{destination},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="sendTime != null">#{sendTime},</if>
|
||||||
|
<if test="finishTime != null">#{finishTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateAppWcsTask" parameterType="AppWcsTask">
|
||||||
|
update app_wcs_task
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="wcsTaskStatus != null">wcs_task_status = #{wcsTaskStatus},</if>
|
||||||
|
<if test="wcsTaskType != null">wcs_task_type = #{wcsTaskType},</if>
|
||||||
|
<if test="taskPriority != null">task_priority = #{taskPriority},</if>
|
||||||
|
<if test="vehicleId != null and vehicleId != ''">vehicle_id = #{vehicleId},</if>
|
||||||
|
<if test="origin != null and origin != ''">origin = #{origin},</if>
|
||||||
|
<if test="destination != null and destination != ''">destination = #{destination},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="sendTime != null">send_time = #{sendTime},</if>
|
||||||
|
<if test="finishTime != null">finish_time = #{finishTime},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where wcs_task_id = #{wcsTaskId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteAppWcsTaskByWcsTaskId" parameterType="String">
|
||||||
|
delete from app_wcs_task where wcs_task_id = #{wcsTaskId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppWcsTaskByWcsTaskIds" parameterType="String">
|
||||||
|
delete from app_wcs_task where wcs_task_id in
|
||||||
|
<foreach item="wcsTaskId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{wcsTaskId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
Loading…
Reference in New Issue
Block a user