diff --git a/mallinkService/src/main/resources/mapper/WxWeappAuditStatusMapper.xml b/mallinkService/src/main/resources/mapper/WxWeappAuditStatusMapper.xml index 8b0163602..ffa35cc14 100644 --- a/mallinkService/src/main/resources/mapper/WxWeappAuditStatusMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxWeappAuditStatusMapper.xml @@ -1,6 +1,6 @@ - + @@ -14,8 +14,7 @@ - `id`,`app_id`,`type`,`user_version`,`version_desc`, - `audit_status`,`audit_err_code`,`audit_time` + `id`,`app_id`,`type`,`user_version`,`version_desc`, `audit_status`,`audit_err_code`,`audit_time` @@ -56,6 +55,13 @@ + + update wx_weapp_audit_status + set `user_version` = #{userVersion}, `version_desc` = #{versionDesc}, + `audit_status` = #{auditStatus}, `audit_err_code` = #{auditErrCode}, `audit_time` = #{auditTime} + where `app_id` = #{appId} and `type` = #{type} + + diff --git a/mallinkService/src/main/resources/mapper/WxWeappCodeStatusMapper.xml b/mallinkService/src/main/resources/mapper/WxWeappCodeStatusMapper.xml index 71e4fada4..81be02b77 100644 --- a/mallinkService/src/main/resources/mapper/WxWeappCodeStatusMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxWeappCodeStatusMapper.xml @@ -13,21 +13,17 @@ - `id`,`app_id`,`name`,`type`,`user_version`,`version_desc`, - `code_status`,`code_err_code`,`code_time` + `id`,`app_id`,`type`,`user_version`,`version_desc`,`code_status`,`code_err_code`,`code_time` - where 1 = 1 + where 1 = 1 and `id` = #{id} and `app_id` = #{appId} - - and `name` = #{appId} - and `type` = #{type} @@ -36,6 +32,7 @@ and `code_status` = #{codeStatus} + and `code_time` = #{codeTime} @@ -55,7 +52,7 @@ update wx_weapp_code_status - set `user_version` = #{userVersion}, `version_desc`= #{versionDesc} + set `user_version` = #{userVersion}, `version_desc`= #{versionDesc}, `code_status` = #{codeStatus}, `code_err_code` = #{codeErrCode}, `code_time` = #{codeTime} where `app_id` = #{appId} and `type` = #{type} @@ -74,9 +71,7 @@ - c.`id`,c.`app_id`,c.`type`,c.`user_version`,c.`version_desc` - c.`code_status`,c.`code_err_code`,c.`code_time` - a.`name` + c.`id`,c.`app_id`,c.`type`,c.`user_version`,c.`version_desc`,c.`code_status`,c.`code_err_code`,c.`code_time`, a.`name` diff --git a/mallinkService/src/main/resources/mapper/WxWeappReleaseStatusMapper.xml b/mallinkService/src/main/resources/mapper/WxWeappReleaseStatusMapper.xml index 891d8ca26..557254c87 100644 --- a/mallinkService/src/main/resources/mapper/WxWeappReleaseStatusMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxWeappReleaseStatusMapper.xml @@ -1,6 +1,6 @@ - + @@ -13,8 +13,7 @@ - `id`,`app_id`,`type`,`user_version`,`version_desc`, - `release_status`,`release_err_code`,`release_time` + `id`,`app_id`,`type`,`user_version`,`version_desc`,`release_status`,`release_err_code`,`release_time` @@ -53,8 +52,8 @@ update wx_weapp_release_status - set `user_version` = #{userVersion}, - `release_status` = null, `release_err_code` = null, `release_time` = null + set `user_version` = #{userVersion}, `version_desc` = #{versionDesc}, + `release_status` = #{releaseStatus}, `release_err_code` = #{releaseErrCode}, `release_time` = #{releaseTime} where `app_id` = #{appId} and `type` = #{type}