| | |
| | | <if test="_parameter.containsKey('comPlats')"> |
| | | com_plats = #{comPlats}, |
| | | </if> |
| | | <if test="_parameter.containsKey('comCode')"> |
| | | com_code = #{comCode}, |
| | | </if> |
| | | </set> |
| | | WHERE com_id=#{comId} |
| | | </update> |
| | |
| | | com_logo, |
| | | com_valid, |
| | | com_functions, |
| | | com_plats |
| | | com_plats, |
| | | com_code |
| | | from sys_company |
| | | where com_id=#{comId} |
| | | </select> |
| | |
| | | com_logo, |
| | | com_valid, |
| | | com_functions, |
| | | com_plats |
| | | com_plats, |
| | | com_code |
| | | from sys_company |
| | | <where> |
| | | <if test="record!=null"> |
| | |
| | | and com_functions = #{record.comFunctions} |
| | | </if> |
| | | <if |
| | | test="(record.comPlats!=null and record.comPlats!='') or (record.comPlats!='' and record.comPlats==0)"> |
| | | test="(record.comPlats!=null and record.comPlats!='') or (record.comPlats!='' and record.comPlats==0)"> |
| | | and com_plats = #{record.comPlats} |
| | | </if> |
| | | <if |
| | | test="(record.comCode!=null and record.comCode!='') or (record.comCode!='' and record.comCode==0)"> |
| | | and com_code = #{record.comCode} |
| | | </if> |
| | | </if> |
| | | </where> |
| | | </select> |