ApplyLicenseService

This commit is contained in:
guohb
2024-04-30 10:32:28 +08:00
parent dde0f71967
commit a2d2c498c7
3 changed files with 9 additions and 1 deletions

View File

@@ -11,4 +11,7 @@ import java.util.List;
public interface ApplyLicenseMapper extends Mapper<LicenseTransactDO> {
List<LicenseListResponse> licenseList(@Param("request") LicenseListRequest request);
void updateByShopId(@Param("entity") LicenseTransactDO licenseTransactDO);
}

View File

@@ -1,6 +1,11 @@
<?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.cool.store.mapper.ApplyLicenseMapper">
<update id="updateByShopId">
update xfsg_license_transact
set submit_status = #{entity.submitStatus}
where shop_id = #{entity.shopId}
</update>
<select id="licenseList" resultType="com.cool.store.response.LicenseListResponse">