上传的图像用于项目: 'CST技术支持'
  1. CST技术支持
  2. SLAL2-1405

【AtlasCopco】调薪通知函占位符

XMLWord打印

    • Icon: 技术问题 技术问题
    • 解决结果: 完成
    • Icon: High High
    • 202011
    • Y-易路产品-
    • actest
    • 基础通用功能
    • 隐藏

      四个占位符代码分别如下:

      period = ''
      adjust_lines = record.salary_adjustment_line
      for adjust in adjust_lines:
      adjustment_period = adjust.adjustment_period
      if not period:
      period = adjustment_period
      if not period:
      continue
      if period <= adjustment_period:
      period = adjustment_period
      result = ''
      if period:
      result = int(period.split('-')[0])-1

      ===========================================

      result = ''
      adjust_lines = record.salary_adjustment_line
      for adjust in adjust_lines:
      result = adjust.adjustment_period
      break
      if result:
      splt_list = result.split('-')
      result = splt_list[0]'年''-'splt_list[1]'月'

      ===========================================

      months = ['Jan','Feb','Mar',
      'Apr', 'May','Jun',
      'Jul','Aug','Sept',
      'Oct','Nov','Dec']
      result = ''
      adjust_lines = record.salary_adjustment_line
      for adjust in adjust_lines:
      adjust_time = adjust.validate_date
      if not result:
      result = adjust_time
      if not result:
      continue
      if result <= adjust_time:
      result = adjust_time
      if result:
      split_list = result.split('-')
      the_month = months[int(split_list[1]) - 1]
      result = the_month+'.'split_list[2]','+split_list[0]
      ===========================================

      result = ''
      adjust_lines = record.salary_adjustment_line
      for adjust in adjust_lines:
      adjust_time = adjust.validate_date
      if not result:
      result = adjust_time
      if not result:
      continue
      if result <= adjust_time:
      result = adjust_time
      if result:
      split_list = result.split('-')
      result = split_list[0] + '年' split_list[1]'月'split_list[2]'日'

      显示
      四个占位符代码分别如下: period = '' adjust_lines = record.salary_adjustment_line for adjust in adjust_lines: adjustment_period = adjust.adjustment_period if not period: period = adjustment_period if not period: continue if period <= adjustment_period: period = adjustment_period result = '' if period: result = int(period.split('-') [0] )-1 =========================================== result = '' adjust_lines = record.salary_adjustment_line for adjust in adjust_lines: result = adjust.adjustment_period break if result: splt_list = result.split('-') result = splt_list [0] '年' '-' splt_list [1] '月' =========================================== months = ['Jan','Feb','Mar', 'Apr', 'May','Jun', 'Jul','Aug','Sept', 'Oct','Nov','Dec'] result = '' adjust_lines = record.salary_adjustment_line for adjust in adjust_lines: adjust_time = adjust.validate_date if not result: result = adjust_time if not result: continue if result <= adjust_time: result = adjust_time if result: split_list = result.split('-') the_month = months[int(split_list [1] ) - 1] result = the_month+'.' split_list [2] ','+split_list [0] =========================================== result = '' adjust_lines = record.salary_adjustment_line for adjust in adjust_lines: adjust_time = adjust.validate_date if not result: result = adjust_time if not result: continue if result <= adjust_time: result = adjust_time if result: split_list = result.split('-') result = split_list [0] + '年' split_list [1] '月' split_list [2] '日'

      1-年终奖生效年度 ${notifyeffyearvc}:
      取薪资执行月份中的年度 -1

      2-调薪执行月份-yyyy年-mm月 ${notifyeffMMcn}:
      取薪资执行月份 格式:yyyy年-mm月

      3-调薪生效日期EN ${notifyStartDateEn}
      取生效日期,格式 Jan. 01, 2019

      4-调薪生效日期EN ${notifyStartDateCn}
      取生效日期,格式 yyyy年mm月dd 日

            grant.yang 杨光磊
            jason.zhou 周子深
            表决:
            0 为这个问题表决

              创建日期:
              已更新:
              已解决: