This commit is contained in:
苏竹红
2025-06-04 17:40:43 +08:00
parent 143df4138a
commit 81083972ca
2 changed files with 4 additions and 3 deletions

View File

@@ -40,7 +40,8 @@
legal_is_same_partner, legal_is_same_partner,
single_shop, single_shop,
commitment_url, commitment_url,
food_shop_list_url food_shop_list_url,
sync_flag
</sql> </sql>
<update id="updateByShopId"> <update id="updateByShopId">
update xfsg_license_transact update xfsg_license_transact

View File

@@ -133,7 +133,7 @@ public class ApplyLicenseServiceImpl implements ApplyLicenseService {
} else { } else {
//如果更新了数据 同步标识置为0 //如果更新了数据 同步标识置为0
licenseTransactDO.setUpdateTime(new Date()); licenseTransactDO.setUpdateTime(new Date());
applyLicenseMapper.updateByPrimaryKey(licenseTransactDO); applyLicenseMapper.updateByPrimaryKeySelective(licenseTransactDO);
} }
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_3); ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_3);
if (Constants.ONE_INTEGER.equals(request.getSubmitStatus()) && shopSubStageInfo.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_30.getShopSubStageStatus())) { if (Constants.ONE_INTEGER.equals(request.getSubmitStatus()) && shopSubStageInfo.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_30.getShopSubStageStatus())) {
@@ -166,7 +166,7 @@ public class ApplyLicenseServiceImpl implements ApplyLicenseService {
} else { } else {
//如果更新了数据 同步标识置为0 //如果更新了数据 同步标识置为0
licenseTransactDO.setUpdateTime(new Date()); licenseTransactDO.setUpdateTime(new Date());
applyLicenseMapper.updateByPrimaryKey(licenseTransactDO); applyLicenseMapper.updateByPrimaryKeySelective(licenseTransactDO);
} }
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_4); ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_4);
if (Constants.ONE_INTEGER.equals(request.getSubmitStatus()) && shopSubStageInfo.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_40.getShopSubStageStatus())) { if (Constants.ONE_INTEGER.equals(request.getSubmitStatus()) && shopSubStageInfo.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_40.getShopSubStageStatus())) {