增加防御代码,防止恶意攻击(优化)

This commit is contained in:
季圣华
2021-08-22 18:48:02 +08:00
parent 95dfcbead3
commit d21e6a4ffe
2 changed files with 0 additions and 23 deletions

View File

@@ -240,9 +240,6 @@ public class SupplierService {
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
public int updateAdvanceIn(Long supplierId, BigDecimal advanceIn)throws Exception{
logService.insertLog("商家",
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(supplierId).toString(),
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
Supplier supplier=null;
try{
supplier = supplierMapper.selectByPrimaryKey(supplierId);