ApplyLicenseService
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user