修改了总部审核商家入驻的功能模块,修改了商家入驻时间和添加商家的账号id
This commit is contained in:
parent
2301c42f67
commit
b0c916c8e8
@ -73,8 +73,8 @@ public interface BusinessDao extends JpaRepository<BusinessEntity,Long>, JpaSpec
|
||||
* @param time
|
||||
*/
|
||||
@Modifying(clearAutomatically=true)
|
||||
@Query(value = "update business set business_type = '1',settle_in_time = ?2 where id = ?1",nativeQuery = true)
|
||||
void updatePassBusiness(Integer id,String time);
|
||||
@Query(value = "update business set business_type = '1',settle_in_time = ?2,business_id = ?3 where id = ?1",nativeQuery = true)
|
||||
void updatePassBusiness(Integer id,String time,Integer businessId);
|
||||
|
||||
/**
|
||||
* 商家入驻审核不通过
|
||||
|
@ -212,7 +212,7 @@ public class MerchantSettlementServiceImpl implements MerchantSettlementService
|
||||
SendSmsResponse lyb123 = AliYunSmsUtils.sendSmsToBusinessPass(username, username, "lyb123");
|
||||
|
||||
// 修改商家入驻得状态(通过)
|
||||
businessDao.updatePassBusiness(id,dateTimeToString(LocalDateTime.now()));
|
||||
businessDao.updatePassBusiness(id,dateTimeToString(LocalDateTime.now()),sysUserEntity.getId());
|
||||
|
||||
return outputEncapsulationObject(PromptMessageEnum.SUCCESS,"操作成功!",locale);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user