|
@@ -599,7 +599,7 @@ public class KuaiShouGroupTemplateServiceImpl extends ServiceImpl<KuaiShouGroupT
|
|
|
Integer createType = template.getCreateType();
|
|
|
if (createType == 0) { // 单品
|
|
|
Long photoId = template.getPhotoId();
|
|
|
- JSONObject videoMd5Json = groupTemplateMapper.getMd5ByPhotoId(photoId);
|
|
|
+ JSONObject videoMd5Json = groupTemplateMapper.getMd5ByPhotoId(String.valueOf(photoId));
|
|
|
if (Check.isNull(videoMd5Json)) {
|
|
|
log.error("未获取到素材详细信息,accountId:{},unitId:{}", template.getAccountId(), unitId);
|
|
|
updateTemplate.setCreativeStatus(3);
|
|
@@ -655,7 +655,7 @@ public class KuaiShouGroupTemplateServiceImpl extends ServiceImpl<KuaiShouGroupT
|
|
|
}
|
|
|
for (int i = 0; i < array.size(); i++) {
|
|
|
Long photoId = array.getLong(i);
|
|
|
- JSONObject videoJson = groupTemplateMapper.getMd5ByPhotoId(photoId);
|
|
|
+ JSONObject videoJson = groupTemplateMapper.getMd5ByPhotoId(String.valueOf(photoId));
|
|
|
if (Check.isNull(videoJson)) {
|
|
|
log.error("未获取到素材详细信息,accountId:{},unitId:{}", template.getAccountId(), unitId);
|
|
|
updateTemplate.setCreativeStatus(3);
|