Compare commits
No commits in common. "f2f60d7c647cacc57a4d47656001bb505d9cc222" and "df985859e77943de2208eb68ac14ee976223ef69" have entirely different histories.
f2f60d7c64
...
df985859e7
@ -313,7 +313,7 @@ export class SurveySalesService {
|
||||
*/
|
||||
async updateSurvey(id: number, survey: SurveyRegistRequest, isTemporary: boolean, storeId: string, role: string) {
|
||||
const { detailInfo, ...basicInfo } = survey
|
||||
const newSrlNo = isTemporary ? '一時保存' : survey.srlNo === '一時保存' ? await this.getNewSrlNo(storeId, role) : survey.srlNo
|
||||
const newSrlNo = isTemporary ? survey.srlNo ?? '一時保存' : await this.getNewSrlNo(storeId, role)
|
||||
|
||||
// @ts-ignore
|
||||
return (await prisma.SD_SURVEY_SALES_BASIC_INFO.update({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user