日常优化
This commit is contained in:
parent
5c412dd6ab
commit
2e8c18dd70
|
@ -19,7 +19,7 @@ public interface PoundBillMapper extends BaseMapper<PoundBill>
|
|||
* @param id 磅单信息主键
|
||||
* @return 磅单信息
|
||||
*/
|
||||
public PoundBill selectPoundBillById(Long id);
|
||||
public PoundBill selectPoundBillById(String id);
|
||||
|
||||
/**
|
||||
* 查询磅单信息列表
|
||||
|
@ -51,7 +51,7 @@ public interface PoundBillMapper extends BaseMapper<PoundBill>
|
|||
* @param id 磅单信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePoundBillById(Long id);
|
||||
public int deletePoundBillById(String id);
|
||||
|
||||
/**
|
||||
* 批量删除磅单信息
|
||||
|
@ -59,5 +59,5 @@ public interface PoundBillMapper extends BaseMapper<PoundBill>
|
|||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePoundBillByIds(Long[] ids);
|
||||
public int deletePoundBillByIds(String[] ids);
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public interface IPoundBillService extends IService<PoundBill>
|
|||
* @param id 磅单信息主键
|
||||
* @return 磅单信息
|
||||
*/
|
||||
public PoundBill selectPoundBillById(Long id);
|
||||
public PoundBill selectPoundBillById(String id);
|
||||
|
||||
/**
|
||||
* 查询磅单信息列表
|
||||
|
@ -52,7 +52,7 @@ public interface IPoundBillService extends IService<PoundBill>
|
|||
* @param ids 需要删除的磅单信息主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePoundBillByIds(Long[] ids);
|
||||
public int deletePoundBillByIds(String[] ids);
|
||||
|
||||
/**
|
||||
* 删除磅单信息信息
|
||||
|
@ -60,5 +60,5 @@ public interface IPoundBillService extends IService<PoundBill>
|
|||
* @param id 磅单信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePoundBillById(Long id);
|
||||
public int deletePoundBillById(String id);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ import com.ruoyi.bill.service.IPoundBillService;
|
|||
* @date 2025-06-03
|
||||
*/
|
||||
@Service
|
||||
public class PoundBillServiceImpl extends ServiceImpl<PoundBillMapper, PoundBill> implements IPoundBillService
|
||||
public class PoundBillServiceImpl extends ServiceImpl<PoundBillMapper, PoundBill>implements IPoundBillService
|
||||
{
|
||||
@Autowired
|
||||
private PoundBillMapper poundBillMapper;
|
||||
|
@ -31,7 +31,7 @@ public class PoundBillServiceImpl extends ServiceImpl<PoundBillMapper, PoundBill
|
|||
* @return 磅单信息
|
||||
*/
|
||||
@Override
|
||||
public PoundBill selectPoundBillById(Long id)
|
||||
public PoundBill selectPoundBillById(String id)
|
||||
{
|
||||
return poundBillMapper.selectPoundBillById(id);
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ public class PoundBillServiceImpl extends ServiceImpl<PoundBillMapper, PoundBill
|
|||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePoundBillByIds(Long[] ids)
|
||||
public int deletePoundBillByIds(String[] ids)
|
||||
{
|
||||
return poundBillMapper.deletePoundBillByIds(ids);
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ public class PoundBillServiceImpl extends ServiceImpl<PoundBillMapper, PoundBill
|
|||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePoundBillById(Long id)
|
||||
public int deletePoundBillById(String id)
|
||||
{
|
||||
return poundBillMapper.deletePoundBillById(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue